Gets or sets the measure unit used by the ruler scales.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public RulerUnit Unit { get; set; } |
Visual Basic Copy Code |
---|
Public Property Unit As RulerUnit |
A member of the RulerUnit enumeration specifying what units are displayed in the scales. The default is Millimeter.
The control paints a number of division and subdivision marks based on this unit and current zoom level of the diagram. The marks are painted using Foreground property of base Control class.