Share via


LegendKey Members

Include Protected Members
Include Inherited Members

The LegendKey type exposes the following members.

Properties

  Name Description
Public property Application When used without an object qualifier, this property returns an Application object that represents the Microsoft Word 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.
Public property Border
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Public property Fill
Public property Format Returns the line, fill, and effect formatting for the object. Read-only [ChartFormat#SameCHM].
Public property Height Returns a Double value that represents the height, in points, of the object.
Public property Interior
Public property InvertIfNegative True if Microsoft Word inverts the pattern in the object when it corresponds to a negative number. Read/write Variant.
Public property 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.
Public property 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.
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#SameCHM] constants: xlColorIndexAutomatic or xlColorIndexNone. Applies only to line, scatter, and radar charts. Read/write Long.
Public property MarkerForegroundColor Sets the marker foreground color as an RGB value or returns the corresponding color index value. Applies only to line, scatter, and radar charts. Read/write Long.
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#SameCHM] constants: xlColorIndexAutomatic or xlColorIndexNone. Applies only to line, scatter, and radar charts. Read/write Long.
Public property MarkerSize Returns or sets the data-marker size, in points. Can be a value from 2 through 72. Read/write Long.
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#SameCHM].
Public property Parent Returns the parent for the specified object. Read-only Object.
Public property PictureType Returns or sets a [XlChartPictureType#SameCHM] value that represents the way pictures are displayed on a legend key.
Public property PictureUnit
Public property 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.
Public property Shadow Returns or sets a Boolean value that determines if the object has a shadow.
Public property Smooth True if curve smoothing is turned on for the legend key. Read/write.
Public property Top Returns aDouble 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).
Public property Width Returns a Double value that represents the width, in points, of the object.

Top

Methods

  Name Description
Public method ClearFormats Clears the formatting of the object.
Public method Delete Deletes the object.
Public method Select

Top

See Also

Reference

LegendKey Interface

Microsoft.Office.Interop.PowerPoint Namespace