Ruler Property (Read/Write)

Top  Previous  Next

Sets/gets the format style of the ruler. This ruler shows the cursor position.

 

VB.NET Syntax

 

Display.Ruler [= RulerType]

 

C# Syntax

 

Display.Ruler [= RulerType];

 

 

Remarks

 

For example, ruCrosshair constant value will draw one vertical and one horizontal lines, and the intersection will be the cursor position.

 

See Also CursorPos property and RulerType constants.