Gridlines Interface

Definition

Represents major or minor gridlines on a chart axis.

public interface class Gridlines
[System.Runtime.InteropServices.Guid("FC9090AF-0DDB-4EC1-86E8-8751F2199F2C")]
public interface Gridlines
type Gridlines = interface
Public Interface Gridlines
Attributes

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.

Properties

Application

When used without an object qualifier, this property returns an _Application object that represents the Microsoft Word application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.

Border

Returns a ChartBorder object that represents the border of the object. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only.

Format

Returns the line, fill, and effect formatting for the object. Read-only.

Name

Returns the name of the object.

Parent

Returns the parent for the specified object. Read-only.

Methods

Delete()

Deletes the object.

Select()

Selects the object.

Applies to