This documentation is archived and is not being maintained.

TextFrame2 Interface

Represents the text frame in a Shape, ShapeRange, or ChartFormat object.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

public interface TextFrame2 : _IMsoDispObj

This 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. Use the TextFrame2 property to return a TextFrame2 object.