[]
Represents the text frame in an IShape object.
public interface ITextFrame
Public Interface ITextFrame
Name | Description |
---|---|
AutoMargins | Gets or sets whether Spread automatically calculates text frame margins. |
AutoSize | The size of the specified object that changes automatically to fit text within its boundaries. |
CanEdit | Gets or sets a boolean value indicating whether the user can edit text of the shape. |
HasText | Returns whether the specified text frame has text. |
HorizontalAlignment | Gets or sets a HorizontalAlignment value that represents the horizontal alignment for the specified object. |
HorizontalOverflow | Returns or sets the horizontal overflow setting for the specified object. |
MarginBottom | Returns or sets the distance (in pixels) between the bottom of the text frame and the bottom of the inscribed rectangle of the shape that contains the text. |
MarginLeft | Returns or sets the distance (in pixels) between the left edge of the text frame and the left edge of the inscribed rectangle of the shape that contains the text. |
MarginRight | Returns or sets the distance (in pixels) between the right edge of the text frame and the right edge of the inscribed rectangle of the shape that contains the text. |
MarginTop | Returns or sets the distance (in pixels) between the top of the text frame and the top of the inscribed rectangle of the shape that contains the text. |
Orientation | Returns or sets a value that represents the text frame orientation. |
PresetTextEffect | Returns or sets the Word Art type for the specified text frame. |
TextRange | Gets the ITextRange object that represents the text in the object. |
VerticalAlignment | Gets or sets a VerticalAlignment value that represents the vertical alignment of the specified object. |
VerticalAnchor | Returns or sets the vertical anchor type for the specified text. |
VerticalOverflow | Returns or sets the vertical overflow setting for the specified object. Read/write |
WordWrap | Returns or sets text break lines within or past the boundaries of the shape. |
Name | Description |
---|---|
DeleteText() | Deletes the text from a text frame and all the associated text properties. |