The requested page is not available for the requested platform. You are viewing the content for Default platform.

XtraReport.PageWidth Property

Gets or sets the width 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

Declaration

[SRCategory(ReportStringId.CatPageSettings)]
[DefaultValue(-1)]
public int PageWidth { get; set; }
<SRCategory(ReportStringId.CatPageSettings)>
<DefaultValue(-1)>
Public Property PageWidth As Integer

Property Value

Type Default Description
Int32

-1

An integer value equal to the width 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 width can only be set if the XtraReport.PaperKind is set to the Custom value.

See Also