Skip to main content

XtraReport.PageHeight Property

Gets or sets the height of the report pages (measured in report units). Available only if the XtraReport.PaperKind is set to Custom.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.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 that is the page height in report units.

Remarks

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.

Page width and height can only be set if the XtraReport.PaperKind is set to Custom. Any other paper kind has predefined width and height.

If the XtraReport.RollPaper is true, the PageHeight property is disabled.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PageHeight property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also