Share via


Shape.HasTextFrame Property

Returns whether the specified shape has a text frame. Read-only.

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

Syntax

'Declaration
ReadOnly Property HasTextFrame As MsoTriState
    Get
'Usage
Dim instance As Shape
Dim value As MsoTriState

value = instance.HasTextFrame
MsoTriState HasTextFrame { get; }

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

The value of the HasTextFrame property can be one of the following MsoTriState constants:

Constant

Description

msoFalse

The specified shape does not have a text frame and therefore cannot contain text.

msoTrue

The specified shape has a text frame and can therefore contain text.

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.PowerPoint Namespace