Skip to main content

XtraPageSettingsBase Class

The base for classes that provide functionality to print reports.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v23.2.Core.dll

NuGet Package: DevExpress.Printing.Core

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.

Implements

Inheritance

Object
XtraPageSettingsBase
See Also