Gets or sets the measure unit used by the ruler scales.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C#
![]() |
---|
public RulerUnit Unit { get; set; } |
Visual Basic
![]() |
---|
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.
WpfDiagram Programmer's Guide | © 2025 MindFusion |