Search
Ruler Members
Constructors Properties Methods
 


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

Ruler

Initializes a new instance of the Ruler class.

 Public Properties

  Name Description

BackColor

 

ChildContent

 

EnableGuides

Gets or sets a value indicating whether the alignment guides are enabled.

Font

Gets or sets the font used to render scale coordinates.

ForeColor

Gets or sets the foreground color of the ruler.

GuideColor

Gets or sets the color of the alignment guide lines.

HorizontalScaleVisible

Gets or sets a value specifying whether the horizontal scale is visible.

MeasureUnit

Gets or sets the measure units displayed in the ruler scales.

NegatedX

Gets or sets whether the horizontal scale should show negated values, simulating that the coordinate system's X axis grows to the left.

NegatedY

Gets or sets whether the vertical scale should show negated values, simulating that the coordinate system's Y axis grows to the top.

PointerColor

Gets or sets the color of the mouse pointer's projections.

ProjectionColor

Gets or sets the color of the projections of the active node on the ruler scales.

ProjectRotatedBounds

Gets or sets whether the projection of nodes on ruler's scales rotates with them.

ScaleSize

Gets or sets the size of the scales in pixels.

StyleAttributes

Gets or sets a list of custom style attributes to be applied to the control's DOM element.

TextColor

Gets or sets the color used to paint text in the ruler.

VerticalScaleVisible

Gets or sets a value indicating whether the vertical ruler scale is visible.

 Public Methods

  Name Description

Invalidate

 

 Protected Methods

  Name Description

BuildRenderTree

 

 See Also