Share via


Shape.HasChart Property

Returns whether the shape represented by the specified object contains a chart. Read-only.

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

Syntax

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

value = instance.HasChart
MsoTriState HasChart { get; }

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

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

Constant

Description

msoFalse

The specified shape does not contain a chart.

msoTrue

The specified shape contains a chart.

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.PowerPoint Namespace