All docs
V20.2
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ASPxDiagram.SettingsPage Property

Contains page settings.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

public DiagramPageSettings SettingsPage { get; }
Public ReadOnly Property SettingsPage As DiagramPageSettings

Property Value

Type Description
DiagramPageSettings

An object that contains the page settings.

Available values:

Name Description
Height

Specifies the page height.

Width

Specifies the page width.

Color

Specifies the diagram page color.

Orientation

Specifies the page orientation.

ToString()

This method is not in effect for the DiagramPageSettings class.

Assign(PropertiesBase)

Copies public properties from the specified object to the current object.

DiagramPageSettings(IPropertiesOwner)

Initializes a new instance of the DiagramPageSettings class with specified settings.

Remarks

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

Diagram page settings are stored in a diagram model. When the model is read-only (the ReadOnly property is set to true) page settings specified via the SettingsPage property are not in effect.

If you call the server Import(String) or client Import(data) method, the method applies the imported page settings and the SettingsPage properties are ignored.

See Also