Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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