Partager via


LegendEntry Members

Include Protected Members
Include Inherited Members

Represents a legend entry in a chart legend.

The LegendEntry type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the Microsoft Excel application.
Public property AutoScaleFont True if the text in the object changes font size when the object size changes. The default value is True.
Public property Creator Returns a 32-bit integer that indicates the application in which this object was created.
Public property Font Returns a Font object that represents the font of the specified object.
Public property Format Returns the ChartFormat object. Read-only.
Public property Height The height, in points, of the object.
Public property Index Returns the index number of the object within the collection of similar objects.
Public property Left The distance, in points, from the left edge of the object to the left edge of the chart area.
Public property LegendKey Returns a LegendKey object that represents the legend key associated with the entry.
Public property Parent Returns the parent object for the specified object.
Public property Top The distance, in points, from the top edge of the object to the top of the chart area.
Public property Width The width, in points, of the object.

Top

Methods

  Name Description
Public method Delete Deletes the object.
Public method Select Selects the object.

Top

See Also

Reference

LegendEntry Interface

Microsoft.Office.Interop.Excel Namespace