Skip to main content
All docs
V24.1

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

Assigns multiple page parameter simultaneously.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

public virtual void Assign(
    DXMargins margins,
    DXPaperKind paperKind,
    string paperName,
    bool landscape
)

Parameters

Name Type Description
margins DXMargins

The document margins.

paperKind DXPaperKind

Specifies one of the standard paper sizes.

paperName String

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

landscape Boolean

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

See Also