All docs
V20.2
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ASPxDiagram.ViewUnits Property

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

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

[DefaultValue(DiagramUnit.In)]
public DiagramUnit ViewUnits { get; set; }
<DefaultValue(DiagramUnit.In)>
Public Property ViewUnits As DiagramUnit

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 properties panel and in the diagram work area.

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

View Units

See Also