主题
Count (属性)
返回一个 int 值,它代表集合中对象的数量。
示例
python
#此示例显示第一张工作表中第一个图表的系列数量
def test():
print(Application.Worksheets.Item(1).ChartObjects(1).Chart.SeriesCollection().Count)