Skip to main content
All docs
V25.1
  • XtraPageSettingsBase.ApplyPageSettings(XtraPageSettingsBase, DXPaperKind, Size, DXMargins, DXMargins, Boolean) Method

    Applies the defined page settings.

    Namespace: DevExpress.XtraPrinting

    Assembly: DevExpress.Printing.v25.1.Core.dll

    NuGet Package: DevExpress.Printing.Core

    Declaration

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

    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.

    Returns

    Type Description
    Boolean

    true to apply page settings; otherwise, false.

    See Also