XtraPageSettingsBase.Assign(Margins, Margins, PaperKind, Size, Boolean) Method
Assigns the page margins, minimum margins, paper kind and page orientation of a document, simultaneously.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v18.2.Core.dll
Declaration
public void Assign(
Margins margins,
Margins minMargins,
PaperKind paperKind,
Size pageSize,
bool landscape
)
Parameters
Name | Type | Description |
---|---|---|
margins | Margins | A Margins object that specifies the page margins. |
minMargins | Margins | A Margins object that specifies the minimum value of the document margins. |
paperKind | PaperKind | A PaperKind value that specifies one of the standard paper sizes. |
pageSize | Size | A Size object that specifies the paper size of the document pages. |
landscape | Boolean | true to print a page in landscape orientation; otherwise, false. |
Remarks
The margins, minMargins, paperKind and landscape parameters affect the values of the XtraPageSettingsBase.Margins, XtraPageSettingsBase.MinMargins, XtraPageSettingsBase.PaperKind and XtraPageSettingsBase.Landscape properties correspondingly.
See Also