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>
See Also
Feedback