TextFrame TextFrame TextFrame Interface

Definition

Represents the text frame in a Shape object. Contains the text in the text frame as well as the properties and methods that control the alignment and anchoring of the text frame.

public interface class TextFrame
[System.Runtime.InteropServices.Guid("0002443D-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface TextFrame
Public Interface TextFrame
Attributes

Properties

Application Application Application

Returns an Application object that represents the Microsoft Excel application.

AutoMargins AutoMargins AutoMargins

True if Microsoft Excel automatically calculates text frame margins.

AutoSize AutoSize AutoSize

True if the size of the specified object is changed automatically to fit text within its boundaries.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which this object was created.

HorizontalAlignment HorizontalAlignment HorizontalAlignment

Returns or sets the horizontal alignment for the specified object.

HorizontalOverflow HorizontalOverflow HorizontalOverflow

Gets or sets the horizontal overflow setting for the specified object.

MarginBottom MarginBottom 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.

MarginLeft MarginLeft 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.

MarginRight MarginRight 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.

MarginTop MarginTop 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.

Orientation Orientation Orientation

The text frame orientation.

Parent Parent Parent

Returns the parent object for the specified object.

ReadingOrder ReadingOrder ReadingOrder

Returns or sets the reading order for the specified object.

VerticalAlignment VerticalAlignment VerticalAlignment

Returns or sets the vertical alignment of the specified object.

VerticalOverflow VerticalOverflow VerticalOverflow

Gets or sets the vertical overflow setting for the specified object.

Methods

Characters(Object, Object) Characters(Object, Object) Characters(Object, Object)

Returns a Characters object that represents a range of characters within a shape’s text frame.

Applies to