Compartilhar via


Axis.TickMarkSpacing Property

Returns or sets the number of categories or series between tick marks. Applies only to category and series axes.

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

Syntax

'Declaration
Property TickMarkSpacing As Integer
    Get
    Set
'Usage
Dim instance As Axis
Dim value As Integer

value = instance.TickMarkSpacing

instance.TickMarkSpacing = value
int TickMarkSpacing { get; set; }

Property Value

Type: System.Int32

Remarks

Use the MajorUnit and MinorUnit properties to set tick-mark spacing on the value axis.

See Also

Reference

Axis Interface

Axis Members

Microsoft.Office.Interop.Excel Namespace