Table of contents
TOC
折叠目录
展开目录

ChartGroup.SizeRepresents 属性 (PowerPoint)ChartGroup.SizeRepresents Property (PowerPoint)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

返回或设置气泡图上气泡大小表示的含义。读/写Returns or sets what the bubble size represents on a bubble chart. Read/write Long.

语法Syntax

表达式SizeRepresentsexpression. SizeRepresents

表达式_一个表示ChartGroup对象的变量。_expression A variable that represents a ChartGroup object.

注解Remarks

此属性可以是下面的XlSizeRepresents常量之一:This property can be either of the following XlSizeRepresents constants:

  • xlSizeIsAreaxlSizeIsArea

  • xlSizeIsWidthxlSizeIsWidth

示例Example

请注意 尽管下面的代码适用于 Microsoft Word 中,您可以随时修改将其应用到 PowerPoint。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 对象ChartGroup Object

© 2018 Microsoft