DiagramSettings.Units Property
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Property Value
Type | Description |
---|---|
DiagramUnit | The unit. |
Available values:
Name | Description |
---|---|
In | Inch |
Cm | Centimeter |
Px | Pixel |
Remarks
@Html.DevExpress().Diagram(settings => {
settings.Name = "Diagram";
settings.Units = DevExpress.Web.ASPxDiagram.DiagramUnit.Px;
...
}).Bind(Model.Objects, Model.Connections).GetHtml()
See Also