Compartilhar via


Gridlines Interface

Represents major or minor gridlines on a chart axis.

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

Syntax

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

Remarks

Gridlines extend the tick marks on a chart axis to make it easier to see the values associated with the data markers. This object isn’t a collection. There’s no object that represents a single gridline; you either have all gridlines for an axis turned on or all of them turned off.

Use the MajorGridlines property to return the GridLines object that represents the major gridlines for the axis. Use the MinorGridlines property to return the GridLines object that represents the minor gridlines. It’s possible to return both major and minor gridlines at the same time.

See Also

Reference

Gridlines Members

Microsoft.Office.Interop.Excel Namespace