Chart.SetElement(MsoChartElementType) Method

Definition

Sets chart elements on a chart. Read/write.

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)

Parameters

Element
MsoChartElementType

Required MsoChartElementType Specifies the chart element type.

Remarks

For charts, the following commands in the Layout tab correspond to the SetElement(MsoChartElementType) method:

MsoChartElementType is an enumeration of constants that refer to all of the above commands.

Applies to