Skip to main content
All docs
V24.2

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

Assigns multiple page parameter simultaneously.

Namespace: DevExpress.XtraPrinting

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

Declaration

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

Parameters

Name Type Description
margins DevExpress.XtraPrinting.Native.MarginsF

Document margins.

minMargins DevExpress.XtraPrinting.Native.MarginsF

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