LegendEntries Method

         Example         Applies To

Returns an object that represents either a single legend entry (a LegendEntry object, Syntax 1) or a collection of legend entries (a LegendEntries object, Syntax 2) for the legend.

Syntax 1

expression.LegendEntries(Index)

Syntax 2

expression.LegendEntries

expression   Required. An expression that returns a Legend object.

Index   Optional Variant. The number of the legend entry.