Skip to main content
A newer version of this page is available. .

XtraReport.PageSize Property

Gets or sets the size of the report’s pages (measured in report units).

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v20.1.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core

Declaration

[Browsable(false)]
public Size PageSize { get; set; }

Property Value

Type Description
Size

A Size object representing the size of the report’s pages.

Remarks

Usually, the size of report’s pages is the appropriate size of the report’s paper kind, which is accessed via the XtraReport.PaperKind property. In this case, if the XtraReport.Landscape property is set to true, then the page width and height will be swapped with each other.

The size of the report’s pages can only be set if the XtraReport.PaperKind is set to the Custom value.

Note

The size of the report’s pages is measured in the units set by the XtraReport.ReportUnit property.

See Also