Back to Devexpress

DiagramPageSettings Class

aspnet-devexpress-dot-web-dot-aspxdiagram-29de7371.md

latest2.4 KB
Original Source

DiagramPageSettings Class

Contains page settings.

Namespace : DevExpress.Web.ASPxDiagram

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

NuGet Package : DevExpress.Web

Declaration

csharp
public class DiagramPageSettings :
    PropertiesBase
vb
Public Class DiagramPageSettings
    Inherits PropertiesBase

The following members return DiagramPageSettings objects:

LibraryRelated API Members
ASP.NET Web Forms ControlsASPxDiagram.SettingsPage
ASP.NET MVC ExtensionsDiagramSettings.SettingsPage

Remarks

These settings can be accessed via the SettingsPage property.

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

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.

Implements

IStateManager

Inheritance

Object StateManager PropertiesBase DiagramPageSettings

See Also

DiagramPageSettings Members

DevExpress.Web.ASPxDiagram Namespace