Provides horizontal and vertical scales that helps users measure diagram items.
The following tables list the members exposed by the Ruler type.
Name | Description | |
---|---|---|
Overloaded. |
Name | Description | |
---|---|---|
Gets or sets a value indicating whether the control should render references to the client scripts. |
||
Gets or sets the background color of the Ruler control. |
||
Gets or sets the URL to the MindFusion.Diagramming.js file. |
||
Gets or sets the id of the DiagramView. |
||
Gets or sets a value indicating whether alignment guides are active. |
||
Gets or sets the foreground color of the control. |
||
Gets or sets the color used to paint guides. |
||
Gets or sets a value indicating whether the horizontal ruler scale is visible. |
||
Gets or sets the id of the view. |
||
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 used to paint cursor projections. |
||
Gets or sets the color used to paint the projection of the active node. |
||
Gets or sets whether the projection of nodes on ruler's scales rotates with them. |
||
Gets or sets the color used to paint texts in the ruler. |
||
Gets or sets the measure unit used by the ruler. |
||
Gets or sets a value indicating whether the vertical ruler scale is visible. |
Name | Description | |
---|---|---|
Sets the name of a JavaScript function that should be invoked when the control is loaded on the client side. |
||
Overloaded. |
||
Overloaded. |
||
Renders the Ruler's initializing scripts on a web page under the specified function name. |
||
Loads the specified JSON data. |
||
Renders the Ruler on a web page. |
||
Serializes the Ruler's data to JSON. |
||
Sets a value indicating whether the control should render references to the client scripts. |
||
Sets the background color of the Ruler control. |
||
Sets the id of the DiagramView. |
||
Sets a value indicating whether alignment guides are active. |
||
Sets the foreground color of the control. |
||
Sets the color used to paint guides. |
||
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 used to paint cursor 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 texts in the ruler. |
||
Sets the measure unit used by the ruler. |
||
Sets a value indicating whether the vertical ruler scale is visible. |
||
Serializes the Ruler's data to JSON. |