Axis.Type Property
Returns the Axis type.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property Type As XlAxisType
Get
Set
'Usage
Dim instance As Axis
Dim value As XlAxisType
value = instance.Type
instance.Type = value
XlAxisType Type { get; set; }
Property Value
Type: Microsoft.Office.Interop.Excel.XlAxisType
Remarks
XlAxisType can be one of these XlAxisType constants:
xlCategory
xlSeriesAxis
xlValue
When using this property for the horizontal axis of scatter charts, xlCategory will be returned as the Axis type.