Skip to main content
All docs
V24.1

XtraPageSettingsBase.Assign(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,
    DXPaperKind paperKind,
    SizeF pageSize,
    bool landscape
)

Parameters

Name Type Description
margins DXMargins

The document 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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Assign(DXMargins, DXPaperKind, SizeF, Boolean) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also