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

ShapeRange.TextFrame2 Property (PowerPoint)

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

Returns the TextFrame2 object associated with the specified ShapeRange object that contains the alignment and anchoring properties for the specified shape range. Read-only.

Syntax

expression. TextFrame2

expression An expression that returns a ShapeRange object.

Return Value

TextFrame2

Remarks

Use the TextRange property of the TextFrame2 object to return the text in the text frame.

Use the HasTextFrame property to determine whether a shape range contains a text frame before you attempt to get the TextFrame2 property value.

See also

Concepts

ShapeRange Object

© 2018 Microsoft