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 | |
---|---|---|
BreakForwardLink | Breaks the forward link for the specified text frame, if such a link exists. | |
ValidLinkTarget | Determines whether the text frame of one shape can be linked to the text frame of another shape. |
Properties
Name | Description | |
---|---|---|
Application | Returns an Application object that represents the Microsoft Word application. | |
AutoSize | Returns or sets a Long that represents whether a text frame is sized automatically. Read/write. | |
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. | |
Creator | Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long. | |
HasText | True if the specified shape has text associated with it. Read-only Boolean. | |
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. | |
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. | |
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. | |
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. | |
Next | Returns a TextFrame object that represents the next text frame in a collection of shapes. Read-only. | |
Orientation | Returns or sets the orientation of the text inside the frame. Read/write MsoTextOrientation. | |
Overflowing | True if the text inside the specified text frame doesn't all fit within the frame. Read-only Boolean. | |
Parent | Returns a Shape object that represents the parent shape of the text frame. | |
Previous | Returns a TextFrame object that represents the previous text frame in a collection of shapes. Read-only. | |
TextRange | Returns a Range object that represents the text in the specified text frame. | |
VerticalAnchor | Returns or sets an MsoVerticalAnchor constant that represents the vertical alignment of the text within a shape. Read/write. | |
WordWrap | True if Microsoft Word wraps Latin text in the middle of a word in the specified text frames. Read/write Long. |