Table of contents
TOC
Collapse the table of content
Expand the table of content

TextFrame.Ruler Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

Syntax

expression. Ruler

expression A variable that represents a TextFrame object.

Return Value

Ruler

Example

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

Set myDocument = ActivePresentation.Slides(1)

myDocument.Shapes(2).TextFrame.Ruler.TabStops _
    .Add ppTabStopLeft, 144

See also

Concepts

TextFrame Object

© 2018 Microsoft