The Ruler control provides horizontal and vertical scales that help users measure and align diagram items.
The following tables list the members exposed by the Ruler type.
Name | Description | |
---|---|---|
![]() |
Initializes a new instance of the Ruler class. |
Name | Description | |
---|---|---|
![]() ![]() |
Creates and initializes a new Ruler from the specified element. This method is static and can be called without creating an instance of the class. |
|
![]() ![]() |
Returns the specified Ruler object. This member is static and can be invoked without creating an instance of the class. |
|
![]() |
Gets the background color of the control. |
|
![]() |
Gets a value indicating whether the alignment guides are enabled. |
|
![]() |
Gets the foreground color of the control. |
|
![]() |
Gets the color of the alignment guide lines. |
|
![]() |
Gets a value iindicating whether the horizontal ruler scale is visible. |
|
![]() |
Gets whether the horizontal scale should show negated values, simulating that the coordinate system's X axis grows to the left. |
|
![]() |
Gets whether the vertical scale should show negated values, simulating that the coordinate system's Y axis grows to the top. |
|
![]() |
Gets the color of the mouse pointer's projections. |
|
![]() |
Gets the color used to paint the projection of the active node. |
|
![]() |
Gets whether the projection of nodes on ruler's scales rotates with them. |
|
![]() |
Gets the color used to paint text in the ruler. |
|
![]() |
Gets the measure units displayed in the ruler scales. |
|
![]() |
Gets a value iindicating whether the vertical ruler scale is visible. |
|
![]() |
Registers an onsubmit handler for the Ruler's parent html form to flush postback data. |
|
![]() |
Sets the background color of the control. |
|
![]() |
Sets the Diagram attached to this Ruler. |
|
![]() |
Sets a value indicating whether the alignment guides are enabled. |
|
![]() |
Sets the foreground color of the control. |
|
![]() |
Sets the color of the alignment guide lines. |
|
![]() |
Sets a value indicating whether the horizontal ruler scale is visible. |
|
![]() |
Sets whether the horizontal scale should show negated values, simulating that the coordinate system's X axis grows to the left. |
|
![]() |
Sets whether the vertical scale should show negated values, simulating that the coordinate system's Y axis grows to the top. |
|
![]() |
Sets the color of the mouse pointer's projections. |
|
![]() |
Sets the color used to paint the projection of the active node. |
|
![]() |
Sets whether the projection of nodes on ruler's scales rotates with them. |
|
![]() |
Sets the color used to paint text in the ruler. |
|
![]() |
Sets the measure units displayed in the ruler scales. |
|
![]() |
Sets a value indicating whether the vertical ruler scale is visible. |