Partager via


Axis.MajorTickMark Property

Returns or sets the type of major tick mark for the specified axis.

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

Syntax

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

value = instance.MajorTickMark

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

Property Value

Type: Microsoft.Office.Interop.Excel.XlTickMark

Remarks

XlTickMark can be one of these XlTickMark constants:

xlTickMarkInside

xlTickMarkOutside

xlTickMarkCross

xlTickMarkNone

See Also

Reference

Axis Interface

Axis Members

Microsoft.Office.Interop.Excel Namespace