Search
Ruler Properties
 


 Public Properties

  Name Description

ContextMenu

Specifies the context menu associated with the ruler.

DiagramView

Gets or sets the DiagramView to show inside this Ruler.

Document

Gets or sets the Diagram document this ruler is associated with. This property is obsolete; set DiagramView instead.

EnableGuides

Gets or sets a value indicating whether alignment guides are active.

GuideColor

Gets or sets the color used to paint guides.

HorizontalScaleAlignment

Gets or sets the alignment of the horizontal scale.

HorizontalScaleHeight

Gets or sets the height of the horizontal scale.

HorizontalScaleVisible

Specifies whether the horizontal ruler scale is visible.

InchDivisions

Gets or sets the number of minor divisions to show when Unit is set to Inch.

MarkLength

Gets or sets the length of scale marks.

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 used to paint cursor 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.

ScaleColor

Gets or sets the color used to paint the background of ruler scales.

ShowIcon

Gets or sets a value indicating whether to show the icon between the horizontal and vertical scales.

SnapMarksToPixels

Gets or sets whether the ruler aligns scale division marks to device pixels for more crisp appearance.

TextColor

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

Unit

Gets or sets the measure unit used by the ruler scales.

VerticalScaleAlignment

Gets or sets the alignment of the vertical scale.

VerticalScaleVisible

Specifies whether the vertical ruler scale is visible.

VerticalScaleWidth

Gets or sets the width of the vertical scale.

 See Also