Share via


Legend Members

Include Protected Members
Include Inherited Members

The Legend 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 AutoScaleFont
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 Font
Public property Format Returns the line, fill, and effect formatting for the object. Read-only [ChartFormat#SameCHM].
Public property Height Returns or sets a Double value that represents the height, in points, of the object.
Public property IncludeInLayout True if a legend will occupy the chart layout space when a chart layout is being determined. The default value is True. Read/write Boolean.
Public property Interior
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 Name Returns a String value that represents the name of the object.
Public property Parent Returns the parent for the specified object. Read-only Object.
Public property Position Returns or sets a [XlLegendPosition#SameCHM] value that represents the position of the legend on the chart.
Public property Shadow Returns or sets a Boolean value that determines if the object has a shadow.
Public property Top Returns or sets a Double 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 or sets a Double value that represents the width, in points, of the object.

Top

Methods

  Name Description
Public method Clear Clears the entire object.
Public method Delete Deletes the object.
Public method LegendEntries Returns a collection of legend entries for the legend.
Public method Select Selects the object.

Top

See Also

Reference

Legend Interface

Microsoft.Office.Interop.PowerPoint Namespace