ShowPosition Property
ShowPosition returns or sets the show cursor position state on the ruler. This property controls the current cursor position as gray lines on the rulers. It has a Boolean value. If the value is set to 'True', then as the cursor is moved, the position indicator moves within the rulers to show the exact page position of the cursor. If this value is set to 'False', the position of the cursor is not indicated on the rulers.
Syntax
object.ShowPosition
object. ShowPosition = Show
Parameter |
Type |
Description |
Show |
Boolean |
required |
Example 1
This example demonstrates how to return whether or not the position of the cursor is displayed on the rulers.
Debug.Print Ruler.ShowPosition
Example 2
This example demonstrates how to display the position of the cursor on a ruler.
Ruler.ShowPosition = True
Example 3
This script displays all the properties in the Ruler object.
Used by: Ruler object