Skip to main content

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.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

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:

Object Type Path to AnySettingUsed
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