TextFrame2 Object Members

Excel Developer Reference

Represents the text frame in a Shape, ShapeRange, or ChartFormat object.

Methods

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

Properties

  Name Description
Bb257022.properties(en-us,office.12).gif Application Returns an Application object. Read-only.
Bb257022.properties(en-us,office.12).gif AutoSize The size of the specified object that changes automatically to fit text within its boundaries. Read/write MsoAutoSize.
Bb257022.properties(en-us,office.12).gif Column Returns the TextColumn2 object that represents the columns within the text frame. Read-only.
Bb257022.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long.
Bb257022.properties(en-us,office.12).gif HasText Returns whether the specified text frame has text. Read-only MsoTriState.
Bb257022.properties(en-us,office.12).gif HorizontalAnchor Returns or sets the horizontal anchor type for the specified text. Read/write MsoHorizontalAnchor.
Bb257022.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.
Bb257022.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.
Bb257022.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.
Bb257022.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.
Bb257022.properties(en-us,office.12).gif Orientation Returns or sets a value that represents the text frame orientation. Read/write MsoTextOrientation.
Bb257022.properties(en-us,office.12).gif Parent Returns the parent object for the specified object. Read-only.
Bb257022.properties(en-us,office.12).gif PathFormat Returns or sets the path type for the specified text frame. Read/write MsoPathFormat.
Bb257022.properties(en-us,office.12).gif Ruler Returns a Ruler object that represents the ruler for the specified text. Read-only.
Bb257022.properties(en-us,office.12).gif TextRange Returns the TextRange2 object that represents the text in the object. Read-only.
Bb257022.properties(en-us,office.12).gif ThreeD Returns a ThreeDFormat object that contains 3-D–effect formatting properties for the specified text. Read-only.
Bb257022.properties(en-us,office.12).gif VerticalAnchor Returns or sets the vertical anchor type for the specified text. Read/write MsoVerticalAnchor.
Bb257022.properties(en-us,office.12).gif WarpFormat Returns or sets the warp type for the specified text frame. Read/write MsoWarpFormat.
Bb257022.properties(en-us,office.12).gif WordArtformat Returns or sets the Word Art type for the specified text frame. Read/write MsoPresetTextEffect.
Bb257022.properties(en-us,office.12).gif WordWrap Returns or sets text break lines within or past the boundaries of the shape. Read/write MsoTriState.