如何在PowerPoint图表上阅读类别名称?

时间:2015-07-13 13:37:53

标签: c# powerpoint

如何从PowerPoint中的图表访问每个类别的名称?这就是我为获取系列名称所做的工作,因此类别有类似的东西:

Microsoft.Office.Interop.PowerPoint.SeriesCollection seriesCollection = presentation.Slides[1].Shapes[2].Chart.SeriesCollection();
Series series2 = seriesCollection.Item(2);
var series_name = series2.Name;
Console.WriteLine(Convert.ToString(series_name));

0 个答案:

没有答案