共用方式為


TextFrame.HasText Property

Returns whether the specified shape has text associated with it. Read-only.

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

Syntax

'Declaration
ReadOnly Property HasText As MsoTriState
    Get
'Usage
Dim instance As TextFrame
Dim value As MsoTriState

value = instance.HasText
MsoTriState HasText { get; }

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

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

Constant

Description

msoFalse

The specified shape does not have text associated with it.

msoTrue

The specified shape has text associated with it.

See Also

Reference

TextFrame Interface

TextFrame Members

Microsoft.Office.Interop.PowerPoint Namespace