Partager via


TickLabels Interface

Represents the tick mark labels associated with tick marks on a chart axis.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("000208C9-0000-0000-C000-000000000046")> _
Public Interface TickLabels
'Usage
Dim instance As TickLabels
[InterfaceTypeAttribute()]
[GuidAttribute("000208C9-0000-0000-C000-000000000046")]
public interface TickLabels

Remarks

This object isn’t a collection. There’s no object that represents a single tick mark label; you must return all the tick mark labels as a unit. Tick mark label text for the category axis comes from the name of the associated category in the chart. The default tick mark label text for the category axis is the number that indicates the position of the category relative to the left end of this axis. To change the number of unlabeled tick marks between tick mark labels, you must change the TickLabelSpacing property for the category axis. Tick mark label text for the value axis is calculated based on the MajorUnit, MinimumScale, and MaximumScale properties of the value axis. To change the tick mark label text for the value axis, you must change the values of these properties.

Use the TickLabels property to return the TickLabels object.

See Also

Reference

TickLabels Members

Microsoft.Office.Interop.Excel Namespace