Chart.HasAxis Property
Returns or sets which axes exist on the chart. Read/write.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property HasAxis ( _
Index1 As Object, _
Index2 As Object _
) As Object
Get
Set
'Usage
Dim instance As Chart
Dim Index1 As Object
Dim Index2 As Object
Dim value As Object
value = instance.HasAxis(Index1, Index2)
instance.HasAxis(Index1, Index2) = value
Object this[
Object Index1,
Object Index2
] { get; set; }
Parameters
- Index1
Type: System.Object
Required Object The axis type. Series axes apply only to 3-D charts. Can be one of the XlAxisType constants.
- Index2
Type: System.Object
Optional Object The axis group. 3-D charts have only one set of axes. Can be one of the XlAxisGroup constants.
Property Value
Type: System.Object
Object
Remarks
You must enter a value for at least one of the parameters when setting this property.
Microsoft Word may create or delete axes if you change the chart type or the AxisGroup property.