Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets chart elements on a chart. Read/write.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub SetElement ( _
Element As MsoChartElementType _
)
'Usage
Dim instance As Chart
Dim Element As MsoChartElementType
instance.SetElement(Element)
void SetElement(
MsoChartElementType Element
)
Parameters
- Element
Type: MsoChartElementType
Required 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.