Share via


Shape.HasSmartArt Property

Gets whether there is a SmartArt diagram present on the specified shape.

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

Syntax

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

value = instance.HasSmartArt
MsoTriState HasSmartArt { get; }

Property Value

Type: Microsoft.Office.Core.MsoTriState
A MsoTriState object.

Remarks

Read-only.

msoTrue (-1) if there is a SmartArt diagram present on the shape; otherwise msoFalse (0).

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.Excel Namespace