MindFusion.Wpf Pack Programmer's Guide
Ruler.Unit Property
See Also
 





Gets or sets the measure unit used by the ruler scales.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public RulerUnit Unit { get; set; }

Visual Basic  Copy Code

Public Property Unit As RulerUnit

 Property Value

A member of the RulerUnit enumeration specifying what units are displayed in the scales. The default is Millimeter.

 Remarks

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.

 See Also

Ruler Members
Ruler Class
MindFusion.Diagramming.Wpf Namespace
MarkLength Property
SnapMarksToPixels Property