Partager via


Gridlines Interface

Represents major or minor gridlines on a chart axis.

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

Syntax

'Declaration
<GuidAttribute("92D41A6A-F07E-4CA4-AF6F-BEF486AA4E6F")> _
Public Interface Gridlines
'Usage
Dim instance As Gridlines
[GuidAttribute("92D41A6A-F07E-4CA4-AF6F-BEF486AA4E6F")]
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 is not a collection. There is no object that represents a single gridline; you either enable all gridlines for an axis or disable all of them.

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 is possible to return both major and minor gridlines at the same time.

See Also

Reference

Gridlines Members

Microsoft.Office.Interop.PowerPoint Namespace