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.v19.1.dll
NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.