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)

Syntax

'Declaration
<GuidAttribute("D8252C5E-EB9F-4D74-AA72-C178B128FAC4")> _
Public Interface DataLabels _
    Inherits IEnumerable
'Usage
Dim instance As DataLabels
[GuidAttribute("D8252C5E-EB9F-4D74-AA72-C178B128FAC4")]
public interface DataLabels : IEnumerable

Remarks

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.

Examples

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.

See Also

Reference

DataLabels Members

Microsoft.Office.Interop.Word Namespace