TextFrame Members

Include Protected Members
Include Inherited Members

Represents the text frame in a Shape object. Contains the text in the text frame as well as the properties that control the margins and orientation of the text frame.

The TextFrame type exposes the following members.

Methods

  Name Description
Public method BreakForwardLink Breaks the forward link for the specified text frame, if such a link exists.
Public method DeleteText Deletes the text from a text frame and all the associated properties of the text, including font attributes.
Public method ValidLinkTarget Determines whether the text frame of one shape can be linked to the text frame of another shape.

Top

Properties

  Name Description
Public property Application Returns a Application object that represents the Microsoft Word application.
Public property AutoSize Returns or sets an Integer that represents whether a text frame is sized automatically.
Public property Column Gets the TextColumn2 object that represents the columns of the specified text frame.
Public property 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.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property HasText True if the specified shape has text associated with it.
Public property HorizontalAnchor Gets or sets the horizontal alignment of text in a text frame.
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property Next Returns the next object in the collection.
Public property NoTextRotation Gets or sets whether the text in the text frame should not rotate when the shape is rotated.
Public property Orientation Returns or sets the orientation of the text inside the frame.
Public property Overflowing True if the text inside the specified text frame doesn't all fit within the frame.
Public property Parent Returns a Shape object representing the parent shape of the text frame.
Public property PathFormat Gets or sets the path type for the specified text frame.
Public property Previous Returns the previous object in the collection.
Public property TextRange Returns a Range object that represents the text in the specified text frame.
Public property ThreeD Gets a ThreeDFormat object that contains 3-D effect formatting properties for the specified text frame.
Public property VerticalAnchor Returns or sets an MsoVerticalAnchor constant that represents the vertical alignment of the text within a shape. Read/write.
Public property WarpFormat Gets or sets the warp format (how the text is warped) for the specified text frame.
Public property WordWrap True if Microsoft Word wraps Latin text in the middle of a word in the specified paragraphs or text frames.

Top

See Also

Reference

TextFrame Interface

Microsoft.Office.Interop.Word Namespace