Skip to main content
All docs
V23.2

XtraPageSettingsBase.ApplyPageSettings(XtraPageSettingsBase, DXPaperKind, Size, DXMargins, DXMargins, Boolean, String) Method

Applies the defined page settings.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

public static bool ApplyPageSettings(
    XtraPageSettingsBase pageSettings,
    DXPaperKind paperKind,
    Size customPaperSize,
    DXMargins margins,
    DXMargins minMargins,
    bool landscape,
    string paperName
)

Parameters

Name Type Description
pageSettings XtraPageSettingsBase

Current page settings.

paperKind DXPaperKind

An enumeration value.

customPaperSize Size

The size of a custom paper.

margins DXMargins

The margins (in hundredths of an inch) of a report page.

minMargins DXMargins

The minimum margins.

landscape Boolean

true if the page orientation is landscape; otherwise, false.

paperName String

The name of a custom paper.

Returns

Type Description
Boolean

true to apply page settings; otherwise, false.

See Also