Share via


Axis.MinorTickMark Property

Returns or sets the type of minor tick mark for the specified axis. Read/write [XlTickMark#SameCHM].

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

Syntax

'Declaration
Property MinorTickMark As XlTickMark
    Get
    Set
'Usage
Dim instance As Axis
Dim value As XlTickMark

value = instance.MinorTickMark

instance.MinorTickMark = value
XlTickMark MinorTickMark { get; set; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.XlTickMark

Remarks

MinorTickMark can be one of these XlTickMark constants.

xlTickMarkInside

xlTickMarkOutside

xlTickMarkCross

xlTickMarkNone

Examples

This example sets the minor tick marks for the value axis of the first chart in the active document to be inside the axis.

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

    If .HasChart Then

        .Chart.Axes(xlValue).MinorTickMark= xlTickMarkInside

    End If

End With

See Also

Reference

Axis Interface

Axis Members

Microsoft.Office.Interop.PowerPoint Namespace