Skip to main content

XtraReport.PageSize Property

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.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

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

Normally, width and height of report pages match paper width and height specified by the XtraReport.PaperKind property. When you set the XtraReport.Landscape property to true, page width and height values are swapped.

The size of the report’s pages can only be set if the XtraReport.PaperKind is set to Custom. Any other paper kind has its own predefined size.

See Also