Skip to main content

XtraReport.Landscape Property

Gets or sets a value indicating whether the page orientation is landscape.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[DefaultValue(false)]
[SRCategory(ReportStringId.CatPageSettings)]
public bool Landscape { get; set; }

Property Value

Type Default Description
Boolean false

true if the page orientation is landscape; otherwise, false.

Remarks

If the Landscape property’s value is false, then the page orientation is Portrait.

When the Landscape property value changes, XtraReport.PageWidth and XtraReport.PageHeight property values are swapped.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Landscape 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