Back to Devexpress

DiagramOptionsView.Landscape Property

windowsforms-devexpress-dot-xtradiagram-dot-options-dot-diagramoptionsview-9eb3725b.md

latest2.0 KB
Original Source

DiagramOptionsView.Landscape Property

Specifies whether to use the longer dimension of the page size as the page width.

Namespace : DevExpress.XtraDiagram.Options

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DefaultValue(true)]
[DiagramCategory(DiagramCategory.Layout)]
public virtual bool Landscape { get; set; }
vb
<DefaultValue(True)>
<DiagramCategory(DiagramCategory.Layout)>
Public Overridable Property Landscape As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true , to use the longer edge of the document size as the page width (landscape orientation); otherwise, false (portrait orientation).

|

Property Paths

You can access this nested property as listed below:

Object TypePath to Landscape
DiagramControl

.OptionsView .Landscape

|

Remarks

The DiagramOptionsView.PaperKind property allows you to use one of the standard paper sizes as the page size.

See Also

PageSize

DiagramOptionsView Class

DiagramOptionsView Members

DevExpress.XtraDiagram.Options Namespace