ID Property
Applies To
CaptionLabel object, Language object.
Description
CaptionLabel object: If the BuiltIn property of the CaptionLabel object returns True, ID returns the type for the specified caption label. Can be one of the following WdCaptionLabelID constants: wdCaptionEquation, wdCaptionFigure, or wdCaptionTable. If the BuiltIn property returns False, ID returns False. Read-only Long.
Language object: Returns a number that identifies the specified language. Read-only Long.
Can be one of the following WdLanguageID constants:
See Also
BuiltIn property, CaptionLabel object, CaptionLabel property, Language 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
This example formats the selection with the Icelandic proofing tools language.
Selection.LanguageID = Languages("Icelandic").ID