XtraPageSettingsBase.ApplyPageSettings(XtraPageSettingsBase, PaperKind, Size, Margins, Margins, Boolean) Method

Applies the defined page settings.

Namespace: DevExpress.XtraPrinting

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

Declaration

public static bool ApplyPageSettings(
    XtraPageSettingsBase pageSettings,
    PaperKind paperKind,
    Size customPaperSize,
    Margins margins,
    Margins minMargins,
    bool landscape
)
Public Shared Function ApplyPageSettings(
    pageSettings As XtraPageSettingsBase,
    paperKind As PaperKind,
    customPaperSize As Size,
    margins As Margins,
    minMargins As Margins,
    landscape As Boolean
) As Boolean

Parameters

Name Type Description
pageSettings XtraPageSettingsBase

Current page settings.

paperKind PaperKind

A PaperKind enumeration value.

customPaperSize Size

A Size value which represents the size of a custom paper.

margins Margins

A Margins object representing the margins (in hundredths of an inch) of a report page.

minMargins Margins

A Margins object representing 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