Partager via


Chart.ChartGroups Method

Returns an object that represents either a single chart group or a collection of all the chart groups in the chart.

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

Syntax

'Declaration
Function ChartGroups ( _
    Index As Object _
) As Object
'Usage
Dim instance As Chart
Dim Index As Object
Dim returnValue As Object

returnValue = instance.ChartGroups(Index)
Object ChartGroups(
    Object Index
)

Parameters

  • Index
    Type: System.Object
    The chart group number. If specified, a single ChartGroups object is returned. If omitted, a ChartGroups object is returned which contains a collection of every ChartGroups object for that chart.

Return Value

Type: System.Object

See Also

Reference

Chart Interface

Chart Members

Microsoft.Office.Interop.PowerPoint Namespace