TextFrame Object Members

Word Developer Reference

Represents the text frame in a Shape object. The TextFrame object contains the text in the text frame and the properties that control the margins and orientation of the text frame.

Methods

  Name Description
Bb257992.methods(en-us,office.12).gif BreakForwardLink Breaks the forward link for the specified text frame, if such a link exists.
Bb257992.methods(en-us,office.12).gif ValidLinkTarget Determines whether the text frame of one shape can be linked to the text frame of another shape.

Properties

  Name Description
Bb257992.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257992.properties(en-us,office.12).gif AutoSize Returns or sets a Long that represents whether a text frame is sized automatically. Read/write.
Bb257992.properties(en-us,office.12).gif ContainingRange Returns a Range object that represents the entire story in a series of shapes with linked text frames that the specified text frame belongs to. Read-only.
Bb257992.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257992.properties(en-us,office.12).gif HasText True if the specified shape has text associated with it. Read-only Boolean.
Bb257992.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 Single.
Bb257992.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 Single.
Bb257992.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 Single.
Bb257992.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 Single.
Bb257992.properties(en-us,office.12).gif Next Returns a TextFrame object that represents the next text frame in a collection of shapes. Read-only.
Bb257992.properties(en-us,office.12).gif Orientation Returns or sets the orientation of the text inside the frame. Read/write MsoTextOrientation.
Bb257992.properties(en-us,office.12).gif Overflowing True if the text inside the specified text frame doesn't all fit within the frame. Read-only Boolean.
Bb257992.properties(en-us,office.12).gif Parent Returns a Shape object that represents the parent shape of the text frame.
Bb257992.properties(en-us,office.12).gif Previous Returns a TextFrame object that represents the previous text frame in a collection of shapes. Read-only.
Bb257992.properties(en-us,office.12).gif TextRange Returns a Range object that represents the text in the specified text frame.
Bb257992.properties(en-us,office.12).gif VerticalAnchor Returns or sets an MsoVerticalAnchor constant that represents the vertical alignment of the text within a shape. Read/write.
Bb257992.properties(en-us,office.12).gif WordWrap True if Microsoft Word wraps Latin text in the middle of a word in the specified text frames. Read/write Long.