Skip to main content

XtraPageSettingsBase Class

The base for classes that provide functionality to print reports.

Namespace: DevExpress.XtraPrinting

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

Declaration

public class XtraPageSettingsBase :
    IPageSettings,
    IDisposable

The following members 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.

PageSetupDialog

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.

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.

Implements

Inheritance

Object
XtraPageSettingsBase
See Also