CaptionLabels Interface 

A collection of CaptionLabel objects that represent the available caption labels.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Public Class aptionLabelsImplementation
    Implements CaptionLabels
End Class
Dim aptionLabelsImplementation1 As New aptionLabelsImplementation()

Syntax

Public Interface CaptionLabels
    Inherits IEnumerable
public interface CaptionLabels : IEnumerable
public interface class CaptionLabels : public IEnumerable
public interface CaptionLabels implements IEnumerable
public interface CaptionLabels implements IEnumerable

Remarks

The items in the CaptionLabels collection are listed in the Label box in the Caption dialog box (Insert menu).

Use the CaptionLabel property to return the CaptionLabels collection. By default, the CaptionLabels collection includes the three built-in caption labels: Figure, Table, and Equation.

Use the Add method to add a custom caption label.

Use CaptionLabels(index), where index is the caption label name or index number, to return a single CaptionLabel object.

The index number represents the position of the caption label in the CaptionLabels collection.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Word Namespace

Other Resources

CaptionLabels Members