TextRange2 Interface

Represents the text frame in a Shape or ShapeRange objects.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
<GuidAttribute("000C0397-0000-0000-C000-000000000046")> _
Public Interface TextRange2 _
    Inherits _IMsoDispObj, IEnumerable
'Usage
Dim instance As TextRange2
[GuidAttribute("000C0397-0000-0000-C000-000000000046")]
public interface TextRange2 : _IMsoDispObj, 
    IEnumerable

Remarks

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.

See Also

Reference

TextRange2 Members

Microsoft.Office.Core Namespace