TextFrame Object Members
PowerPoint Developer Reference |
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.
Methods
Name | Description | |
---|---|---|
DeleteText | Deletes the text associated with the specified shape. |
Properties
Name | Description | |
---|---|---|
Application | Returns an Application object that represents the creator of the specified object. | |
AutoSize | Returns or sets a value that indicates whether the size of the specified shape is changed automatically to fit text within its boundaries. Read/write PpAutoSize. | |
Creator | Returns a Long that represents the four-character creator code for the application in which the specified object was created. For example, if the object was created in PowerPoint, this property returns the hexadecimal number 50575054. Read-only. | |
HasText | Returns whether the specified shape has text associated with it. Read-only MsoTriState. | |
HorizontalAnchor | Returns or sets the horizontal alignment of text in a text frame. Read/write MsoHorizontalAnchor. | |
MarginBottom | Read/write | |
MarginLeft | Read/write | |
MarginRight | Read/write | |
MarginTop | Read/write | |
Orientation | Read/write | |
Parent | Returns the parent object for the specified object. | |
Ruler | Returns a Ruler object that represents the ruler for the specified text. Read-only. | |
TextRange | Returns a TextRange object that represents the selected text (Selection object) or the text in the specified text frame (TextFrame object). | |
VerticalAnchor | Returns or sets the vertical alignment of text in a text frame. Read/write MsoVerticalAnchor. | |
WordWrap | Determines whether lines break automatically to fit inside the shape. Read/write MsoTriState. |