The Ruler control provides horizontal and vertical scales that help users measure diagram items.
The following tables list the members exposed by the Ruler type.
Public Constructors| Name | Description | |
|---|---|---|
![]() |
Initializes a new instance of the Ruler class. |
Public Properties| Name | Description | |
|---|---|---|
![]() |
|
|
![]() |
|
|
![]() |
Gets or sets a value indicating whether the alignment guides are enabled. |
|
![]() |
Gets or sets the font used to render scale coordinates. |
|
![]() |
Gets or sets the foreground color of the ruler. |
|
![]() |
Gets or sets the color of the alignment guide lines. |
|
![]() |
Gets or sets a value specifying whether the horizontal scale is visible. |
|
![]() |
Gets or sets the measure units displayed in the ruler scales. |
|
![]() |
Gets or sets whether the horizontal scale should show negated values, simulating that the coordinate system's X axis grows to the left. |
|
![]() |
Gets or sets whether the vertical scale should show negated values, simulating that the coordinate system's Y axis grows to the top. |
|
![]() |
Gets or sets the color of the mouse pointer's projections. |
|
![]() |
Gets or sets the color of the projections of the active node on the ruler scales. |
|
![]() |
Gets or sets whether the projection of nodes on ruler's scales rotates with them. |
|
![]() |
Gets or sets the size of the scales in pixels. |
|
![]() |
Gets or sets a list of custom style attributes to be applied to the control's DOM element. |
|
![]() |
Gets or sets the color used to paint text in the ruler. |
|
![]() |
Gets or sets a value indicating whether the vertical ruler scale is visible. |
Public Methods| Name | Description | |
|---|---|---|
![]() |
|
Protected Methods| Name | Description | |
|---|---|---|
![]() |
|
See Also