Shape.TextFrame2 Property
PowerPoint Developer Reference |
Returns the TextFrame2 object associated with the specified Shape object that contains the alignment and anchoring properties for the specified shape. Read-only.
Syntax
expression.TextFrame2
expression An expression that returns a Shape 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 contains a text frame before you attempt to get the TextFrame2 property value.
See Also