This documentation is archived and is not being maintained.

DataLabels Interface

A collection of all the DataLabel objects for the specified series. Each DataLabel object represents a data label for a point or trendline. For a series without definable points (such as an area series), the DataLabels collection contains a single data label.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

[GuidAttribute("000208B3-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface DataLabels : IEnumerable

Use the DataLabels method to return the DataLabels collection.

Use DataLabels(index), where index is the data-label index number, to return a single DataLabel object.

Show: