Share via


TextFrame2 Object Members

PowerPoint Developer Reference

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.

Methods

  Name Description
Bb265974.methods(en-us,office.12).gif DeleteText Deletes the text from a text frame and all the associated properties of the text, including font attributes.

Properties

  Name Description
Bb265974.properties(en-us,office.12).gif Application Returns an Application object that represents the creator of the specified TextFrame2 object. Read-only.
Bb265974.properties(en-us,office.12).gif AutoSize Returns or sets a value that indicates whether the size of the specified shape is changed automatically to fit text within its boundaries. Read/write.
Bb265974.properties(en-us,office.12).gif Column Returns the Column object that represents the columns of the specified text frame. Read-only.
Bb265974.properties(en-us,office.12).gif Creator Returns a Long that represents the four-character creator code for the application in which the specified object was created. Read-only.
Bb265974.properties(en-us,office.12).gif HasText Indicates whether the shape that contains the specified text frame has text associated with it. Read-only.
Bb265974.properties(en-us,office.12).gif HorizontalAnchor Returns or sets the horizontal alignment of text in a text frame. Read/write.
Bb265974.properties(en-us,office.12).gif MarginBottom Returns or sets the distance (in points) between the bottom of the text frame and the bottom of the inscribed rectangle of the shape that contains the text. Read/write.
Bb265974.properties(en-us,office.12).gif MarginLeft Returns or sets the distance (in points) between the left edge of the text frame and the left edge of the inscribed rectangle of the shape that contains the text. Read/write.
Bb265974.properties(en-us,office.12).gif MarginRight Returns or sets the distance (in points) between the right edge of the text frame and the right edge of the inscribed rectangle of the shape that contains the text. Read/write.
Bb265974.properties(en-us,office.12).gif MarginTop Returns or sets the distance (in points) between the top of the text frame and the top of the inscribed rectangle of the shape that contains the text. Read/write.
Bb265974.properties(en-us,office.12).gif Orientation Returns or sets text orientation. Read/write.
Bb265974.properties(en-us,office.12).gif Parent Returns the parent object of the specified test frame. Read-only.
Bb265974.properties(en-us,office.12).gif PathFormat Returns or sets the path type for the specified text frame. Read/write.
Bb265974.properties(en-us,office.12).gif Ruler Returns a Ruler2 object that represents the ruler for the specified text. Read-only.
Bb265974.properties(en-us,office.12).gif TextRange Returns a TextRange object that represents the text in the specified text frame. Read-only.
Bb265974.properties(en-us,office.12).gif ThreeD Returns a ThreeDFormat object that represents the three-dimensional formatting of the parent shape. Read-only.
Bb265974.properties(en-us,office.12).gif VerticalAnchor Returns or sets the vertical alignment of text in a text frame. Read/write.
Bb265974.properties(en-us,office.12).gif WarpFormat Returns or sets the warp format (how the text is warped) for the specified text frame. Read/write.
Bb265974.properties(en-us,office.12).gif WordArtFormat Returns or sets the WordArt type for the specified text frame. Read/write.
Bb265974.properties(en-us,office.12).gif WordWrap Determines whether lines of text break automatically to fit inside the shape. Read/write.