Share via


CaptionLabel Interface

Represents a single caption label.

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

Syntax

'Declaration
<GuidAttribute("00020979-0000-0000-C000-000000000046")> _
Public Interface CaptionLabel
'Usage
Dim instance As CaptionLabel
[GuidAttribute("00020979-0000-0000-C000-000000000046")]
public interface CaptionLabel

Remarks

The CaptionLabel object is a member of the CaptionLabels collection. The items in the CaptionLabels collection are listed in the Label box in the Caption dialog box (Insert menu).

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.

Use the Add method to add a custom caption label.

See Also

Reference

CaptionLabel Members

Microsoft.Office.Interop.Word Namespace