_Chart.SetElement(MsoChartElementType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets chart elements on a chart. Read/write.
public:
void SetElement(Microsoft::Office::Core::MsoChartElementType Element);
public void SetElement (Microsoft.Office.Core.MsoChartElementType Element);
Public Sub SetElement (Element As MsoChartElementType)
Parameters
- Element
- MsoChartElementType
Specifies the chart element type.
Remarks
For charts, the following commands in the Layout tab correspond to the SetElement(MsoChartElementType) method:
- Everything in the Labels group.
- Everything in the Axes group.
- Everything in the Analysis group.
- PlotArea, Chart Wall, and Chart Floor buttons.
MsoChartElementType is an enumeration of constants that refer to all of the above commands.