Partager via


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
Public property Application When used without an object qualifier, returns an Application object that represents the Microsoft PowerPoint application. When used with an object qualifier, returns an Application object that represents the creator of the specified object (you can use this property with an Automation object to return the application of that object). Read-only.
Public property Border Reserved for internal use.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only.
Public property Fill Reserved for internal use.
Public property Format Returns the line, fill, and effect formatting for the object. Read-only ChartFormat.
Public property Height Returns the height, in points, of the object. Read-only double-precision floating-point number.
Public property Interior Reserved for internal use.
Public property InvertIfNegative true if Microsoft PowerPoint inverts the pattern in the object when it corresponds to a negative number. Read/write.
Public property Left Returns the distance, in points, from the left edge of the object to the left edge of the chart area. Read-only double-precision floating-point number.
Public property MarkerBackgroundColor Sets the marker background color as an RGB value or returns the corresponding color index value. Read/write 64-bit signed integer.
Public property 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. Read/write 64-bit signed integer.
Public property MarkerForegroundColor Sets the marker foreground color as an RGB value or returns the corresponding color index value. Read/write 64-bit signed integer.
Public property 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. Read/write 64-bit signed integer.
Public property MarkerSize Returns or sets the data-marker size, in points. Read/write 64-bit signed integer.
Public property MarkerStyle Returns or sets the marker style for a point or series in a line chart, scatter chart, or radar chart. Read/write XlMarkerStyle.
Public property Parent Returns the parent for the specified object. Read-only.
Public property PictureType Returns or sets the way pictures are displayed on a legend key. Read/write XlChartPictureType.
Public property PictureUnit Reserved for internal use.
Public property PictureUnit2 Returns or sets the unit for each picture on the chart if the PictureType property is set to xlStackScale; otherwise, this property is ignored. Read/write 64-bit signed integer.
Public property Shadow Returns or sets a value that indicates whether the object has a shadow. Read/write Boolean value.
Public property Smooth Gets or sets whether curve smoothing is turned on for the legend key.
Public property Top Returns the distance, in points, from the top edge of the object to the top of the first row (on a worksheet) or the top of the chart area (on a chart). Read-only 64-bit signed integer.
Public property Width Returns the width, in points, of the object. Read-only 64-bit signed integer.

Top

Methods

  Name Description
Public method ClearFormats Clears the formatting of the object.
Public method Delete Deletes the object.
Public method Select Reserved for internal use.

Top

See Also

Reference

LegendKey Interface

Microsoft.Office.Interop.PowerPoint Namespace