Edytuj

Udostępnij za pośrednictwem


Gridlines Interface

Definition

Represents major or minor gridlines on a chart axis.

public interface class Gridlines
[System.Runtime.InteropServices.Guid("000208C3-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface Gridlines
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

Returns an Application object that represents the Microsoft Excel application.

Border

Returns a Border object that represents the border of the object.

Creator

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

Format

Returns the ChartFormat object. Read-only.

Name

Returns the name of the object.

Parent

Returns the parent object for the specified object.

Methods

Delete()

Deletes the object.

Select()

Selects the object.

Applies to