XtraPageSettingsBase Class
The base for classes that provide functionality to print reports.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v18.1.Core.dll
Declaration
Related API Members
The following members accept/return XtraPageSettingsBase objects:
Library | Related API Members |
---|---|
Cross-Platform Class Library | PrintingSystemBase.PageSettings |
WPF Controls | IDocumentViewModel.PageSettings |
Remarks
The XtraPageSettingsBase.TopMargin, XtraPageSettingsBase.RightMargin, XtraPageSettingsBase.BottomMargin and XtraPageSettingsBase.LeftMargin properties determine the top, right, bottom and left report page margins accordingly. The XtraPageSettingsBase.Landscape property determines report page orientation (landscape if true, portrait if false). The XtraPageSettingsBase.PaperKind property determines the Paper Kind. All these settings are grouped in the Page Setup dialog shown below.
For more information on paper kinds refer to MSDN.
Alternatively, you can change margins by clicking them within the report page and dragging to the right, left, top or bottom.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the XtraPageSettingsBase class.
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.