LegendKey Members (PowerPoint)

Represents a legend key in a chart legend.

Methods

Name

Description

ClearFormats

Clears the formatting of the object.

Delete

Deletes the object.

Properties

Name

Description

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.

Creator

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

Format

Returns the line, fill, and effect formatting for the object. Read-only ChartFormat.

Height

Returns the height, in points, of the object. Read-only Double.

InvertIfNegative

True if Microsoft Word inverts the pattern in the object when it corresponds to a negative number. Read/write Variant.

Left

Returns the distance, in points, from the left edge of the object to the left edge of the chart area. Read-only Double.

MarkerBackgroundColor

Sets the marker background color as an RGB value or returns the corresponding color index value. Read/write Long.

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 Long.

MarkerForegroundColor

Sets the marker foreground color as an RGB value or returns the corresponding color index value. Read/write Long.

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 Long.

MarkerSize

Returns or sets the data-marker size, in points. Read/write Long.

MarkerStyle

Returns or sets the marker style for a point or series in a line chart, scatter chart, or radar chart. Read/write XlMarkerStyle.

Parent

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

PictureType

Returns or sets the way pictures are displayed on a legend key. Read/write XlChartPictureType.

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 Double.

Shadow

Returns or sets a value that indicates whether the object has a shadow. Read/write Boolean.

Smooth

Determines whether the transition from one animation point to another is smoothed. Read/write.

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 Double.

Width

Returns the width, in points, of the object. Read-only Double.