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