The requested page is not available for the requested platform. You are viewing the content for Default platform.

XtraReport.PaperKind Property

Gets or sets the type of paper for the report.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll


public PaperKind PaperKind { get; set; }
Public Property PaperKind As PaperKind

Property Value

Type Default Description


A PaperKind enumeration value. By default, this property is set to PaperKind.Letter.


Setting the paper type to any member of the PaperKind enumeration except Custom will prevent the XtraReport.PageWidth, XtraReport.PageHeight, and XtraReport.PageSize properties from being set to user defined values.


If the PaperKind property is set to Custom, then the printer paper will be selected according to the XtraReport.PaperName property's value. In this case, it's also necessary to set the XtraReport.PageWidth and XtraReport.PageHeight properties to the corresponding values of the paper selected.


When setting ReportUnit.TenthsOfAMillimeter as global report units, all the newly created reports will have the PaperKind property set to PaperKind.A4. Otherwise, PaperKind.Letter is set by default.

See Also