Skip to main content

DiagramPageSettings.Height Property

Specifies the page height.

Namespace: DevExpress.Web.ASPxDiagram

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

NuGet Package: DevExpress.Web


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

Property Value

Type Default Description
Decimal "0"

The page height.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Height
ASP.NET MVC Extensions DiagramSettings
.SettingsPage .Height
ASP.NET Web Forms Controls ASPxDiagram
.SettingsPage .Height


Use the Height and Width 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" />

Since page settings are stored in a diagram model, the ASPxDiagram behaves as follows.

  • If you call the server Import(String) or client Import(data) method, the method applies the imported page settings and the Height property is ignored.
  • If a diagram is read-only (the ReadOnly property is set to true), it is not possible to use the Height property to define the page height.
See Also