Partager via


Axes Interface

A collection of all the Axis objects in the specified chart.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
<GuidAttribute("0002085B-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface Axes _
    Inherits IEnumerable
'Usage
Dim instance As Axes
[GuidAttribute("0002085B-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface Axes : IEnumerable

Remarks

Use the Axes method to return the Axes collection.

Use Axes(type, group), where type is the axis type and group is the axis group, to return a single Axis object. Type can be one of the following XlAxisType constants: xlCategory, xlSeries, or xlValue. Group can be one of the following XlAxisGroup constants: xlPrimary or xlSecondary. For more information, see the Axes method.

See Also

Reference

Axes Members

Microsoft.Office.Interop.Excel Namespace