Partager via


ShapeRange.HasChart Property

Returns whether the shape range 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 ShapeRange
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 these MsoTriState constants.

Constant

Description

msoFalse

The specified shape does not contain a chart.

msoTrue

The specified shape contains a chart.

See Also

Reference

ShapeRange Interface

ShapeRange Members

Microsoft.Office.Interop.PowerPoint Namespace