Partager via


ChartGroup.SizeRepresents Property (PowerPoint)

Returns or sets what the bubble size represents on a bubble chart. Read/write Long.

Version Information

Version Added: PowerPoint 2007

Syntax

expression .SizeRepresents

expression A variable that represents a ChartGroup object.

Remarks

This property can be either of the following XlSizeRepresents constants:

  • xlSizeIsArea

  • xlSizeIsWidth

Example

Note

Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.

The following example sets what the bubble size represents for chart group one of the first chart in the active document.

With ActiveDocument.InlineShapes(1)

    If .HasChart Then

        .Chart.ChartGroups(1).SizeRepresents = xlSizeIsWidth

    End If

End With

See Also

Concepts

ChartGroup Object Members

ChartGroup Object