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; }
<Browsable(False)>
Public ReadOnly Property AnySettingUsed As Boolean

Property Value

Type Description
Boolean

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

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