Axis.MajorGridlines Property
Returns a Gridlines object that represents the major gridlines for the specified axis. Only axes in the primary axis group can have gridlines.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property MajorGridlines As Gridlines
Get
'Usage
Dim instance As Axis
Dim value As Gridlines
value = instance.MajorGridlines
Gridlines MajorGridlines { get; }
Property Value
Type: Microsoft.Office.Interop.Excel.Gridlines