Ruler Class

The Ruler provides a horizontal and vertical guide for measuring the units/positions of elements in the Diagram control.
Object Model
Ruler ClassHistoryManager ClassIPropertyObserver InterfaceFontStyle Class
The Ruler can be used to measure the Diagram objects, indicate positions, and align Diagram elements. Rulers can be enabled by setting the ShowRulers property for the Diagram control. The rulers will automatically inherit the MeasurementUnit set for the diagram model and get converted accordingly. The height of the ruler can be set through the RulersHeight property.This is especially useful in creating scale models.You can set the unit of measure such as centimeters or inches.The default unit of measure is pixels.
Inheritance Hierarchy

Syncfusion.Diagram.Base: 17.4460.0.39

See Also