共用方式為


TextFrame.TextRange Property

Returns a TextRange object that represents the text in the specified text frame. Read-only.

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

Syntax

'Declaration
ReadOnly Property TextRange As TextRange
    Get
'Usage
Dim instance As TextFrame
Dim value As TextRange

value = instance.TextRange
TextRange TextRange { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.TextRange

Remarks

You can construct a text range from a selection when the presentation is in slide view, normal view, outline view, notes page view, or any master view.

See Also

Reference

TextFrame Interface

TextFrame Members

Microsoft.Office.Interop.PowerPoint Namespace