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

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


[DefaultValue(typeof(MeasureUnit), "Pixels")]
public virtual MeasureUnit MeasureUnit { get; set; }

Property Value

Type Default Description


A unit of measure.

Property Paths

You can access this nested property as listed below:

Object Type Path to MeasureUnit


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