Skip to main content
A newer version of this page is available. .

PrinterSettingsUsing.UsePaperKind Property

Specifies whether or not the Paper Kind setting of the system’s default printer is used when printing a document.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll

Declaration

[TypeConverter(typeof(BooleanTypeConverter))]
[DefaultValue(false)]
public virtual bool UsePaperKind { get; set; }

Property Value

Type Default Description
Boolean **false**

true, to use the paper kind of the default printer’s settings; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to UsePaperKind
WinForms Controls XtraSchedulerReport
Reporting XtraReport

Remarks

Use the UsePaperKind property to make the report document use the Paper Kind setting defined by the default system printer (instead of the XtraReport.PaperKind property of a report).

The default printer is the printer set as the default in the operating system. To override the default printer settings in your application, use the static properties and methods of the PageSettingsHelper class.

Note

If the UsePaperKind property is set to true, the PrinterSettingsUsing.AnySettingUsed property will also return true.

See Also