XtraReport.PageWidth Property
Gets or sets the width of the report pages measured in report units. Only in effect if 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 PageWidth { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Int32 | -1 | An integer value that is the page width in reports 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 XtraReport.PaperKind is set to Custom. Any other paper kind has its own predefined width and height.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the PageWidth 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.