Skip to main content
A newer version of this page is available.
All docs
V18.2

XtraPageSettingsBase.Assign(MarginsF, MarginsF, PaperKind, Size, Boolean, String) Method

Assigns the page margins, minimum margins, paper kind and other document settings, simultaneously.

Namespace: DevExpress.XtraPrinting

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

Declaration

public void Assign(
    MarginsF margins,
    MarginsF minMargins,
    PaperKind paperKind,
    Size pageSize,
    bool landscape,
    string paperName
)

Parameters

Name Type Description
margins DevExpress.XtraPrinting.Native.MarginsF

DevExpress.XtraPrinting.Native.MarginsF object that specifies the page margins.

minMargins DevExpress.XtraPrinting.Native.MarginsF

DevExpress.XtraPrinting.Native.MarginsF object that specifies the minimum value of the document margins.

paperKind PaperKind

A PaperKind value that specifies one of the standard paper sizes.

pageSize Size

A Size object that specifies the paper size of the document pages.

landscape Boolean

true to print a page in landscape orientation; otherwise, false.

paperName String

A String value, specifying the paper name.

See Also