ReportSettingsBase.PaperKind Property

Gets or sets paper kind for the report.

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v21.1.dll


public PaperKind PaperKind { get; set; }

Property Value

Type Default Description


Paper kind for the report.

Property Paths

You can access this nested property as listed below:

Object Type Path to PaperKind


If your report uses a standard paper size (the PaperKind is set to any value but Custom), the PageHeight and PageWidth do not accept user-defined values.


If the PaperKind property is set to Custom, set the PageHeight and PageWidth properties to custom paper’s height and width.

The code sample below illustrates how to create an End-User Designer instance and set the default page size to Letter for its reports.

using DevExpress.XtraReports.UI;
using DevExpress.XtraReports.UserDesigner;
// ...
XRDesignForm form = new XRDesignForm();
XRDesignMdiController reportDesigner = form.DesignMdiController;
reportDesigner.DefaultReportSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter;
reportDesigner.DefaultReportSettings.Landscape = true;
reportDesigner.DefaultReportSettings.RollPaper = false;
reportDesigner.DefaultReportSettings.ReportUnit = ReportUnit.HundredthsOfAnInch;
reportDesigner.DefaultReportSettings.Margins = new System.Drawing.Printing.Margins(50, 50, 100, 100);
See Also