Share via


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
Bb251499.methods(en-us,office.12).gif DeleteText Deletes the text associated with the specified shape.

Properties

  Name Description
Bb251499.properties(en-us,office.12).gif Application Returns an Application object that represents the creator of the specified object.
Bb251499.properties(en-us,office.12).gif 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.
Bb251499.properties(en-us,office.12).gif 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.
Bb251499.properties(en-us,office.12).gif HasText Returns whether the specified shape has text associated with it. Read-only MsoTriState.
Bb251499.properties(en-us,office.12).gif HorizontalAnchor Returns or sets the horizontal alignment of text in a text frame. Read/write MsoHorizontalAnchor.
Bb251499.properties(en-us,office.12).gif MarginBottom Read/write
Bb251499.properties(en-us,office.12).gif MarginLeft Read/write
Bb251499.properties(en-us,office.12).gif MarginRight Read/write
Bb251499.properties(en-us,office.12).gif MarginTop Read/write
Bb251499.properties(en-us,office.12).gif Orientation Read/write
Bb251499.properties(en-us,office.12).gif Parent Returns the parent object for the specified object.
Bb251499.properties(en-us,office.12).gif Ruler Returns a Ruler object that represents the ruler for the specified text. Read-only.
Bb251499.properties(en-us,office.12).gif TextRange Returns a TextRange object that represents the selected text (Selection object) or the text in the specified text frame (TextFrame object).
Bb251499.properties(en-us,office.12).gif VerticalAnchor Returns or sets the vertical alignment of text in a text frame. Read/write MsoVerticalAnchor.
Bb251499.properties(en-us,office.12).gif WordWrap Determines whether lines break automatically to fit inside the shape. Read/write MsoTriState.