Share via


Axis.TickLabelPosition Property

Describes the position of tick-mark labels on the specified axis. Read/write [XlTickLabelPosition#SameCHM].

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property TickLabelPosition As XlTickLabelPosition
    Get
    Set
'Usage
Dim instance As Axis
Dim value As XlTickLabelPosition

value = instance.TickLabelPosition

instance.TickLabelPosition = value
XlTickLabelPosition TickLabelPosition { get; set; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.XlTickLabelPosition

Examples

This example sets tick-mark labels on the category axis for the first chart in the active document to the high position (above the chart).

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

    If .HasChart Then

        .Chart.Axes(xlCategory) _

            .TickLabelPosition= xlTickLabelPositionHigh

    End If

End With

See Also

Reference

Axis Interface

Axis Members

Microsoft.Office.Interop.PowerPoint Namespace