Axis.AxisTitle Property
Returns an [AxisTitle#SameCHM] object that represents the title of the specified axis. Read-only.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
ReadOnly Property AxisTitle As AxisTitle
Get
'Usage
Dim instance As Axis
Dim value As AxisTitle
value = instance.AxisTitle
AxisTitle AxisTitle { get; }
Property Value
Type: Microsoft.Office.Interop.PowerPoint.AxisTitle
Examples
This example adds an axis label to the category axis for the first chart in the active document.
With ActivePresentation.Slides(1).Shapes(1)
If .HasChart Then
With .Chart.Axes(xlCategory)
.HasTitle = True
.AxisTitle.Text = "July Sales"
End With
End If
End With