Share via


LegendEntry Members (Excel)

Represents a legend entry in a chart legend.

Methods

Name

Description

Delete

Deletes the object.

Select

Selects the object.

Properties

Name

Description

Application

When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel 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.

Creator

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

Font

Returns a Font object that represents the font of the specified object.

Format

Returns the ChartFormat object. Read-only.

Height

Returns a Double value that represents the height, in points, of the object.

Index

Returns a Long value that represents the index number of the object within the collection of similar objects.

Left

Returns a Double value that represents the distance, in points, from the left edge of the object to the left edge of the chart area.

LegendKey

Returns a LegendKey object that represents the legend key associated with the entry.

Parent

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

Top

Returns a Double value that represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).

Width

Returns a Double value that represents the width, in points, of the object.