Skip to main content
A newer version of this page is available. .

XtraPageSettingsBase.Landscape Property

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

Namespace: DevExpress.XtraPrinting

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

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core

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 RemotePrintingSystem
.PageSettings .Landscape
PrintingSystemBase
.PageSettings .Landscape
WinForms Controls PrintingSystem
.PageSettings .Landscape
WPF Controls IDocumentViewModel
.PageSettings .Landscape
PrintingSystem
.PageSettings .Landscape

Remarks

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

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