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

PrinterSettingsUsing.AnySettingUsed Property

Gets a value indicating whether or not any of the default printer settings are used for printing a report.

Namespace: DevExpress.XtraPrinting

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

Declaration

[Browsable(false)]
public bool AnySettingUsed { get; }

Property Value

Type Description
Boolean

true, if at least one of the default printer settings is used for printing a report; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AnySettingUsed
WinForms Controls XtraSchedulerReport
.DefaultPrinterSettingsUsing.AnySettingUsed
Reporting XtraReport
.DefaultPrinterSettingsUsing.AnySettingUsed

Remarks

The default printer settings include the PrinterSettingsUsing.UsePaperKind and PrinterSettingsUsing.UseLandscape properties. If any of these properties is set to true, the AnySettingUsed property will return true as well.

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.

See Also