Series.DataLabels method

Office 2013 and later

Returns an object that represents either a single data label (a DataLabel object) or a collection of all the data labels for the series (a DataLabels collection).

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

Object DataLabels(
	Object Index
)

Parameters

Index
Type: System.Object

The number of the data label.

Return value

Type: System.Object
An Object that represents either a single data label (a DataLabel object) or a collection of all the data labels for the series (a DataLabels collection).

If the series has the Show Value option turned on for the data labels, the returned collection can contain up to one label for each point. Data labels can be turned on or off for individual points in the series.

If the series is on an area chart and has the Show Label option turned on for the data labels, the returned collection contains only a single label, which is the label for the area series.

Show: