Chart.SetElement(MsoChartElementType) 方法

定义

设置图表上图表元素。 读/写。

public:
 void SetElement(Microsoft::Office::Core::MsoChartElementType Element);
public void SetElement (Microsoft.Office.Core.MsoChartElementType Element);
abstract member SetElement : Microsoft.Office.Core.MsoChartElementType -> unit
Public Sub SetElement (Element As MsoChartElementType)

参数

Element
MsoChartElementType

必需 MsoChartElementType 指定图表元素类型。

注解

对于图表,“布局”选项卡中的以下命令对应于 SetElement(MsoChartElementType) 方法:

MsoChartElementType 是引用上述所有命令的常量枚举。

适用于