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.v26.1.Core.dll

NuGet Package: DevExpress.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 PrintingSystemBase
.PageSettings .Landscape
WPF Controls IDocumentViewModel
.PageSettings .Landscape

Remarks

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

See Also