Chart.Axes Method
Gets an object that either represents a single axis or a collection of axes on the chart.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function Axes ( _
Type As Object, _
AxisGroup As XlAxisGroup _
) As Object
'Usage
Dim instance As Chart
Dim Type As Object
Dim AxisGroup As XlAxisGroup
Dim returnValue As Object
returnValue = instance.Axes(Type, AxisGroup)
Object Axes(
Object Type,
XlAxisGroup AxisGroup
)
Parameters
- Type
Type: System.Object
Required Object Specifies the axis to return. Can be one of the following XlAxisType constants: xlValue, xlCategory, or xlSeriesAxis (xlSeriesAxis is valid only for 3-D charts).
- AxisGroup
Type: Microsoft.Office.Interop.Word.XlAxisGroup
Optional XlAxisGroup Specifies the axis group. If this argument is omitted, the primary group is used. 3-D charts have only one axis group.
Return Value
Type: System.Object
Object