Partager via


CaptionLabel.ID Property (Word)

Returns a WdCaptionLabelID constant that represents the type for the specified caption label if the BuiltIn property of the CaptionLabel object is True. Read-only.

Syntax

expression .ID

expression Required. A variable that represents a CaptionLabel object.

Example

This example displays the built-in caption label names and ID values.

For Each cl In CaptionLabels 
 If cl.BuiltIn = True Then MsgBox cl.Name & " " & cl.ID 
Next cl

See Also

Concepts

CaptionLabel Object

CaptionLabel Object Members