Class represents the ruler

The following tables list the members exposed by the RulerTool type.

Name Description
Public constructor RulerTool
Top
Name Description
Public property Angle Angle between two points in XY plane
Public property DeltaX Delta by X
Public property DeltaY Delta by Y
Public property Image (inherited from Tool).
Public property IsActivated Check if tool is active
Public property IsFinished Get/set state is ruler finished
Public property IsSegmentFinished True if ruler's segment is created
Public property OriginalDistance Distance between two points in drawing units without precision
Public property Settings Ruler's settings
Top
Name Description
Public method ActivateTool Method that activates tool
Public method ClearAll Clear all measures
Public method Static ConvertSplineToPoly Convert spline to polyline (inherited from Tool).
Public method DeactivateTool Method that deactivates tool
Public method DrawAllSegments
Public method Equals (Overloaded) (inherited from Object).
Public method GetAllMeasures Get list of all measures(list of lists measures of all rulers)
Public method GetAllSegmentsPoints Get all tool's segment's points(simple ruler has one segment)
Public method GetAngle Angle between two points in XY plane
Public method GetCurrentRulerMeasures Get list of measures(list of lists of two mousedown dpoints) of current ruler
Public method GetCurrentSegmentMeasures Get the drawing points of the current segment
Public method GetDeltaX Delta by X
Public method GetDeltaY Delta by Y
Public method GetDistance Distance between two points in drawing units with precision
Public method GetHashCode (inherited from Object).
Public method GetOriginDistance Distance between two points in drawing units without precision
Public method GetType (inherited from Object).
Public method Static ReferenceEquals (inherited from Object).
Public method SetDefaultSettings Set Settings to default values
Public method SetSettings Set(get) the ruler's settings
Public method ToString (inherited from Object).
Top
Name Description
Public event Deactivated (inherited from Tool).
Top