Partager via


ShapeRange.TextFrame2 Property (PowerPoint)

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

ShapeRange Object Members