Share via


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).

Return Value

Type: System.Object
Object

See Also

Reference

Chart Interface

Chart Members

Microsoft.Office.Interop.Word Namespace