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

DiagramPageSettings.Width Property

Specifies the page width.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

[DefaultValue(typeof(decimal), "0")]
public decimal Width { get; set; }

Property Value

Type Default Description
Decimal "0"

The page width.

Property Paths

You can access this nested property as listed below:

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

Remarks

Use the Width and Height properties to set the page size.

The Units property specifies the measurement unit.

<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 Width property is ignored.

See Also