Skip to main content

DiagramSettings.SettingsPage Property

Provides access to page settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

public DiagramPageSettings SettingsPage { get; }

Property Value

Type Description
DiagramPageSettings

An object that contains the page settings.

Remarks

@Html.DevExpress().Diagram(settings => {
    settings.Name = "Diagram";
    settings.Units = DevExpress.Web.ASPxDiagram.DiagramUnit.Cm;
    settings.SettingsPage.Width = 21;
    settings.SettingsPage.Height = 29.7M;
    settings.SettingsPage.Color = Color.Beige;
    settings.SettingsPage.Orientation = DevExpress.Web.ASPxDiagram.DiagramPageOrientation.Landscape;
}).GetHtml()

Note

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