TextFrame2 Members
Include Protected Members
Include Inherited Members
Represents the text frame in a Shape, ShapeRange, or ChartFormat object.
The TextFrame2 type exposes the following members.
Properties
Name | Description | |
---|---|---|
Application | (Inherited from _IMsoDispObj.) | |
Application | Returns an _Application object. Read-only. | |
AutoSize | The size of the specified object that changes automatically to fit text within its boundaries. Read/write. | |
Column | Returns the TextColumn2 object that represents the columns within the text frame. Read-only. | |
Creator | (Inherited from _IMsoDispObj.) | |
Creator | Returns a 32-bit integer that indicates the application in which this object was created. Read-only. | |
HasText | Returns whether the specified text frame has text. Read-only. | |
HorizontalAnchor | Returns or sets the horizontal anchor type for the specified text. Read/write. | |
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. | |
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. | |
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. | |
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. | |
NoTextRotation | Returns or sets a value that specifies if the text on a shape is rotated if the shape itself is being rotated. Read/write | |
Orientation | Returns or sets a value that represents the text frame orientation. Read/write. | |
Parent | Returns the parent object for the specified object. Read-only. | |
PathFormat | Returns or sets the path type for the specified text frame. Read/write. | |
Ruler | Returns the ruler for the specified text. Read-only. | |
TextRange | Returns the TextRange2 object that represents the text in the object. Read-only. | |
ThreeD | Returns a ThreeDFormat object that contains 3-D–effect formatting properties for the specified text. Read-only. | |
VerticalAnchor | Returns or sets the vertical anchor type for the specified text. Read/write. | |
WarpFormat | Returns or sets the warp type for the specified text frame. Read/write. | |
WordArtformat | Returns or sets the Word Art type for the specified text frame. Read/write. | |
WordWrap | Returns or sets text break lines within or past the boundaries of the shape. Read/write. |
Top
Methods
Name | Description | |
---|---|---|
DeleteText | Deletes the text from a text frame and all the associated text properties. |
Top