Export (0) Print
Expand All

Gridlines interface

Represents major or minor gridlines on a chart axis.

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

[GuidAttribute("FC9090AF-0DDB-4EC1-86E8-8751F2199F2C")]
public interface Gridlines

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 Axis.MajorGridlines property to return the Gridlines object that represents the major gridlines for the axis. Use the Axis.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.

Show:
© 2014 Microsoft