Compartir a través de


ShapeRange.TextFrame Property

Returns a TextFrame object that contains the alignment and anchoring properties for the specified shape or master text style. Read-only.

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

Syntax

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

value = instance.TextFrame
TextFrame TextFrame { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.TextFrame

Remarks

Use the TextRange property of the TextFrame object to return the text in the text frame.

Use the HasTextFrame property to determine whether a shape contains a text frame before you apply the TextFrame property.

See Also

Reference

ShapeRange Interface

ShapeRange Members

Microsoft.Office.Interop.PowerPoint Namespace