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

DiagramPageSettings.Orientation Property

Specifies the page orientation.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v19.2.dll

Declaration

[DefaultValue(DiagramPageOrientation.Portrait)]
public DiagramPageOrientation Orientation { get; set; }

Property Value

Type Default Description
DiagramPageOrientation **Portrait**

The page orientation

Available values:

Name Description
Portrait

A portrait orientation.

Landscape

A landscape orientation.

Property Paths

You can access this nested property as listed below:

Object Type Path to Orientation
ASPxDiagram
.SettingsPage.Orientation
DiagramSettings
.SettingsPage.Orientation
MVCxDiagram
.SettingsPage.Orientation

Remarks

<dx:ASPxDiagram ID="Diagram" runat="server" Units="Cm" >
    <SettingsPage Width="21" Height="29.7" Color="#ccffcc" Orientation="Landscape" />
</dx:ASPxDiagram>

Note

If you call the server Import(String) or client Import(data) method, the method applies the imported page settings and the Orientation property is ignored.

See Also