Skip to main content
All docs
V24.2

XtraPageSettingsBase.Assign(DXMargins, DXMargins, DXPaperKind, SizeF, Boolean, String) Method

Assigns multiple page parameter simultaneously.

Namespace: DevExpress.XtraPrinting

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

Declaration

public void Assign(
    DXMargins margins,
    DXMargins minMargins,
    DXPaperKind paperKind,
    SizeF pageSize,
    bool landscape,
    string paperName
)

Parameters

Name Type Description
margins DXMargins

The document margins.

minMargins DXMargins

The minimum margins.

paperKind DXPaperKind

Specifies one of the standard paper sizes.

pageSize SizeF

The page size.

landscape Boolean

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

paperName String

The name of the custom paper which is used in the printer that the document is going to be printed on.

See Also