IsChartTypePie

ChartTypeCharacterizer.IsChartTypePie 方法

如果 chartType 是其中一个饼图子类型,则返回 true。子类型集合对应于 PowerPoint 中的相应集合(请参见 “更改图表类型” 对话框):BarOfPie,ExplodedPie,ExplodedPie3D,Pie,Pie3D,PieOfPie。

public static bool IsChartTypePie(ChartType chartType)

相关链接