Skip to main content
All docs
V24.1

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

Assigns multiple page parameter simultaneously.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

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

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.

See Also