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)

Usage

Public Class ridlinesImplementation
    Implements Gridlines
End Class
Dim ridlinesImplementation1 As New ridlinesImplementation()

Syntax

Public Interface Gridlines
public interface Gridlines
public interface class Gridlines
public interface Gridlines
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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Excel Namespace

Other Resources

Gridlines Members