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)

Syntax

'Declaration
<GuidAttribute("000208B3-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface DataLabels _
    Inherits IEnumerable
'Usage
Dim instance As DataLabels
[GuidAttribute("000208B3-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface DataLabels : IEnumerable

Remarks

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.

See Also

Reference

DataLabels Members

Microsoft.Office.Interop.Excel Namespace