Share via


LegendKey Object Members

Excel Developer Reference

Represents a legend key in a chart legend.

Methods

  Name Description
Bb242338.methods(en-us,office.12).gif ClearFormats Clears the formatting of the object.
Bb242338.methods(en-us,office.12).gif Delete Deletes the object.

Properties

  Name Description
Bb242338.properties(en-us,office.12).gif 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.
Bb242338.properties(en-us,office.12).gif Format Read-only
Bb242338.properties(en-us,office.12).gif Height Returns a Double value that represents the height, in points, of the object.
Bb242338.properties(en-us,office.12).gif InvertIfNegative True if Microsoft Excel inverts the pattern in the item when it corresponds to a negative number. Read/write Boolean.
Bb242338.properties(en-us,office.12).gif 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.
Bb242338.properties(en-us,office.12).gif MarkerBackgroundColor Sets the marker background color as an RGB value or returns the corresponding color index value. Applies only to line, scatter, and radar charts. Read/write Long.
Bb242338.properties(en-us,office.12).gif MarkerBackgroundColorIndex Returns or sets the marker background color as an index into the current color palette, or as one of the following XlColorIndex constants: xlColorIndexAutomatic or xlColorIndexNone. Applies only to line, scatter, and radar charts. Read/write Long.
Bb242338.properties(en-us,office.12).gif MarkerForegroundColor Sets the marker background color as an RGB value or returns the corresponding color index value. Applies only to line, scatter, and radar charts. Read/write Long.
Bb242338.properties(en-us,office.12).gif MarkerForegroundColorIndex Returns or sets the marker foreground color as an index into the current color palette, or as one of the following XlColorIndex constants: xlColorIndexAutomatic or xlColorIndexNone. Applies only to line, scatter, and radar charts. Read/write Long.
Bb242338.properties(en-us,office.12).gif MarkerSize Returns or sets the data-marker size, in points. Can be a value from 2 through 72. Read/write Long.
Bb242338.properties(en-us,office.12).gif MarkerStyle Returns or sets the marker style for a point or series in a line chart, scatter chart, or radar chart. Read/write XlMarkerStyle.
Bb242338.properties(en-us,office.12).gif Parent Returns the parent object for the specified object. Read-only.
Bb242338.properties(en-us,office.12).gif PictureType Returns or sets a XlChartPictureType value that represents the way pictures are displayed on a legend key.
Bb242338.properties(en-us,office.12).gif PictureUnit Returns or sets the unit for each picture on the chart if the PictureType property is set to xlStackScale (if not, this property is ignored). Read/write Long.
Bb242338.properties(en-us,office.12).gif PictureUnit2 Read/write
Bb242338.properties(en-us,office.12).gif Shadow Returns or sets a Boolean value that determines if the object has a shadow.
Bb242338.properties(en-us,office.12).gif Smooth True if curve smoothing is turned on for the legend key. Read/write.
Bb242338.properties(en-us,office.12).gif 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).
Bb242338.properties(en-us,office.12).gif Width Returns a Double value that represents the width, in points, of the object.