Legend Members
Include Protected Members
Include Inherited Members
Represents the legend in a chart. Each chart can have only one legend.
The Legend type exposes the following members.
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. | |
AutoScaleFont | Reserved for internal use. | |
Border | Reserved for internal use. | |
Creator | Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only. | |
Fill | Reserved for internal use. | |
Font | Reserved for internal use. | |
Format | Reserved for internal use. | |
Height | Returns or sets the height, in points, of the object. Read/write double-precision floating-point number. | |
IncludeInLayout | true if a legend will occupy the chart layout space when a chart layout is being determined. The default is true. Read/write Boolean value. | |
Interior | Reserved for internal use. | |
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. | |
Name | Returns the name of the object. Read-only string. | |
Parent | Returns the parent for the specified object. Read-only. | |
Position | Returns or sets the position of the legend on the chart. Read/write XlLegendPosition. | |
Shadow | Returns or sets a value that indicates whether the object has a shadow. Read/write Boolean value. | |
Top | Returns or sets 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/write double-precision floating-point number. | |
Width | Returns or sets the width, in points, of the object. Read/write double-precision floating-point number. |
Top
Methods
Name | Description | |
---|---|---|
Clear | Clears the entire object. | |
Delete | Deletes the object. | |
LegendEntries | Returns a collection of legend entries for the legend. | |
Select | Selects the object. |
Top