Skip to main content

DiagramPageSettings Class

Contains page settings.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v24.1.dll

NuGet Package: DevExpress.Web


public class DiagramPageSettings :

The following members return DiagramPageSettings objects:

Library Related API Members
ASP.NET Web Forms Controls ASPxDiagram.SettingsPage
ASP.NET MVC Extensions DiagramSettings.SettingsPage


These settings can be accessed via the SettingsPage property.

<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 DiagramPageSettings are ignored.
  • If a diagram is read-only (the ReadOnly property is set to true), it is not possible to use the DiagramPageSettings property to define page settings.



See Also