Axis.BaseUnitIsAuto Property
True if Microsoft Word chooses appropriate base units for the specified category axis. The default value is True. Read/write Boolean.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property BaseUnitIsAuto As Boolean
Get
Set
'Usage
Dim instance As Axis
Dim value As Boolean
value = instance.BaseUnitIsAuto
instance.BaseUnitIsAuto = value
bool BaseUnitIsAuto { get; set; }
Property Value
Type: System.Boolean
Remarks
You cannot set this property for a value axis.
Examples
This example sets the category axis for the first chart in the active document to use a time scale, with the base unit automatically chosen by Microsoft Word.
With ActivePresentation.Slides(1).Shapes(1)
If .HasChart Then
With .Chart
.Axes(xlCategory).CategoryType = xlTimeScale
.Axes(xlCategory).BaseUnitIsAuto= True
End With
End If
End With