PrinterSettingsUsing(Boolean, Boolean) Constructor

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.v20.2.Core.dll

Declaration

public PrinterSettingsUsing(
    bool usePaperKind,
    bool useLandscape
)
Public Sub New(
    usePaperKind As Boolean,
    useLandscape As Boolean
)

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