Ruler Property

Applies To

TextFrame object, TextStyle object.

Description

Returns a Ruler object that represents the ruler for the specified text. Read-only.

Example

This example sets a left-aligned tab stop at 2 inches (144 points) for the text in object two on myDocument.

Set myDocument = ActivePresentation.Slides(1)
myDocument.Shapes(2).TextFrame.Ruler.TabStops.Add ppTabStopLeft, 144