Export (0) Print
Expand All

DataLabels Interface

A collection of all the DataLabel objects for the specified series.

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

[GuidAttribute("D8252C5E-EB9F-4D74-AA72-C178B128FAC4")]
public interface DataLabels : IEnumerable

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.

Use the DataLabels(Object) method to return the DataLabels collection. The following example sets the number format for data labels on the first series of the first chart in the active document.

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

Community Additions

ADD
Show:
© 2014 Microsoft