Share via


Axis.TickLabels Property

Returns a [TickLabels#SameCHM] object that represents the tick-mark labels for 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 TickLabels As TickLabels
    Get
'Usage
Dim instance As Axis
Dim value As TickLabels

value = instance.TickLabels
TickLabels TickLabels { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.TickLabels

Examples

This example sets the color of the tick-mark label font for the value axis of the first chart in the active document.

With ActivePresentation.Slides(1).Shapes(1)

    If .HasChart Then

        .Chart.Axes(xlValue).TickLabels.Font.ColorIndex = 3

    End If

End With

See Also

Reference

Axis Interface

Axis Members

Microsoft.Office.Interop.PowerPoint Namespace