TextFrame2 Object (Office)
Published: July 09, 2012
Represents the text frame in a Shape or ShapeRange object. Contains the text in the text frame and exposes properties and methods that control the alignment and anchoring of the text frame.
The following code adds a rectangle to a slide, adds text to the rectangle, and then sets the margins for the text frame.