TextFrame2 Interface
Represents the text frame in a Shape or ShapeRange object. Contains the text in the text frame and exposes properties and methods that control the alignment and anchoring of the text frame.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
<GuidAttribute("914934F9-5A91-11CF-8700-00AA0060263B")> _
Public Interface TextFrame2
'Usage
Dim instance As TextFrame2
[GuidAttribute("914934F9-5A91-11CF-8700-00AA0060263B")]
public interface TextFrame2
Remarks
Use the TextFrame2 property of the Shape and ShapeRange objects to return a TextFrame2 object.
Use the HasTextFrame property to determine whether a shape or shape range has a text frame, and use the HasText property to determine whether the text frame contains text.