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

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.v23.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, the height and width of report pages match the height and width of the paper specified the XtraReport.PaperKind property. In this case, when you set the XtraReport.Landscape property to true, the page height and width values are swapped.

Page height and width can only be set independently if the XtraReport.PaperKind property is set to Custom.

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