LegendKey Members
Include Protected Members
Include Inherited Members
Represents a legend key in a chart legend.
The LegendKey type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
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. |
![]() |
Fill | Returns a FillFormat object for a specified shape or a ChartFillFormat object for a specified chart that contains fill formatting properties for the shape or chart. |
![]() |
Format | Returns the ChartFormat object. Read-only. |
![]() |
Height | The height, in points, of the object. |
![]() |
Interior | Returns an Interior object that represents the interior of the specified object. |
![]() |
InvertIfNegative | True if Microsoft Excel inverts the pattern in the item when it corresponds to a negative number. |
![]() |
Left | The distance, in points, from the left edge of the object to the left edge of the chart area. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
MarkerSize | Returns or sets the data-marker size, in points. |
![]() |
MarkerStyle | Returns or sets the marker style for a legend key in a line chart, scatter chart, or radar chart. |
![]() |
Parent | Returns the parent object for the specified object. |
![]() |
PictureType | Returns or sets the way pictures are displayed on a legend key. |
![]() |
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). |
![]() |
PictureUnit2 | 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 Double. |
![]() |
Shadow | True if the font is a shadow font or if the object has a shadow. |
![]() |
Smooth | True if curve smoothing is turned on for the line chart or scatter chart. Applies only to line and scatter charts. |
![]() |
Top | The distance, in points, from the top of the chart area. |
![]() |
Width | The width, in points, of the object. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
ClearFormats | Clears the formatting of the object. |
![]() |
Delete | Deletes the object. |
![]() |
Select | Selects the object. |
Top