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

XtraReport.PageHeight Property

Gets or sets the height of the report’s pages (measured in report units). This can only be set if the XtraReport.PaperKind is set to Custom.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v17.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[DefaultValue(-1)]
[SRCategory(ReportStringId.CatPageSettings)]
public int PageHeight { get; set; }

Property Value

Type Default Description
Int32 -1

An integer value which represents the height of the report’s pages.

Remarks

Usually, the height and width of a report’s pages are the appropriate height and width 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 height and width will be swapped with each other.

The page height can only be set if the XtraReport.PaperKind is set to the Custom value.

See Also