Skip to main content
A newer version of this page is available. .

ASPxDiagram.ViewUnits Property

Specifies the measurement unit that is displayed in user interface elements.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

[DefaultValue(DiagramUnit.In)]
public DiagramUnit ViewUnits { get; set; }

Property Value

Type Default Description
DiagramUnit **In**

The unit.

Available values:

Name Description
In

Inch

Cm

Centimeter

Px

Pixel

Remarks

The ViewUnits property specifies the measurement unit in side panel and in the diagram work area.

<dx:ASPxDiagram ID="Diagram" runat="server" ViewUnits="Cm">
</dx:ASPxDiagram>

View Units

See Also