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.v20.1.dll

Declaration

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

Property Value

Type Default Description
Boolean

true

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 Type Path 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