Skip to main content

PrinterSettingsUsing(Boolean, Boolean) Constructor

In This Article

Initializes a new instance of the PrinterSettingsUsing class with the specified paper kind and orientation settings of the system’s default printer.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

#Declaration

public PrinterSettingsUsing(
    bool usePaperKind,
    bool useLandscape
)

#Parameters

Name Type Description
usePaperKind Boolean

true to use the paper kind of the default printer’s settings; otherwise, false. This value is assigned to the PrinterSettingsUsing.UsePaperKind property.

useLandscape Boolean

true to use the landscape values of the default printer’s settings; otherwise, false. This value is assigned to the PrinterSettingsUsing.UseLandscape property.

See Also