DiagramOptionsView.MeasureUnit Property
Specifies the unit of measurement for the ruler displayed by the Canvas.
Namespace: DevExpress.XtraDiagram.Options
Assembly: DevExpress.XtraDiagram.v19.1.dll
Declaration
[DefaultValue(typeof(MeasureUnit), "Pixels")]
public virtual MeasureUnit MeasureUnit { get; set; }
Property Value
Type | Default | Description |
---|---|---|
MeasureUnit | "Pixels" | A unit of measure. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to MeasureUnit |
---|---|
DiagramControl |
|
Remarks
The ruler is shown if the DiagramOptionsView.ShowRulers property is set to true.
The available measurement units are stored in the MeasureUnits class.
See Also