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:

  • wdAfrikaans
  • wdArabic
  • wdBasque
  • wdBelgianDutch
  • wdBelgianFrench
  • wdBrazilianPortuguese
  • wdBulgarian
  • wdByelorussian
  • wdCatalan
  • wdCroation
  • wdCzech
  • wdDanish

  • wdDutch
  • wdEnglishAUS
  • wdEnglishCanadian
  • wdEnglishNewZealand
  • wdEnglishSouthAfrica
  • wdEnglishUK
  • wdEnglishUS
  • wdEstonian
  • wdFarsi
  • wdFinnish
  • wdFrench
  • wdFrenchCanadian
  • wdGerman
  • wdGreek
  • wdHebrew
  • wdHungarian
  • wdIcelandic
  • wdItalian
  • wdJapanese
  • wdKorean
  • wdLanguageNone
  • wdLatvian
  • wdMacedonian
  • wdMalaysian
  • wdMexicanSpanish
  • wdNoProofing
  • wdNorwegianBokmol
  • wdNorwegianNynorsk
  • wdPolish
  • wdPortuguese
  • wdRomanian
  • wdRussian
  • wdSerbianCyrillic
  • wdSerbianLatin
  • wdSesotho
  • wdSimplifiedChinese
  • wdSlovak
  • wdSlovenian
  • wdSpanish
  • wdSpanishModernSort
  • wdSwedish
  • wdSwissFrench
  • wdSwissGerman
  • wdSwissItalian
  • wdTraditionalChinese
  • wdTsonga
  • wdTswana
  • wdTurkish
  • wdUkrainian
  • wdVenda
  • wdXhosa
  • wdZulu

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