Skip to main content

XtraPageSettingsBase.Landscape Property

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

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.2.Core.dll

Declaration

public bool Landscape { get; set; }

Property Value

Type Description
Boolean

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

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Landscape
Cross-Platform Class Library PrintingSystemBase
.PageSettings .Landscape
WPF Controls IDocumentViewModel
.PageSettings .Landscape

Remarks

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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