Word VBA教程:LanguageIDOther属性

返回或设置指定对象的语言。WdLanguageID,可读写。

WdLanguageID 可以是下列 WdLanguageID 常量之一:
wdAfrikaans
wdAlbanian
wdAmharic
wdArabic
wdArabicAlgeria
wdArabicBahrain
wdArabicEgypt
wdArabicIraq
wdArabicJordan
wdArabicKuwait
wdArabicLebanon
wdArabicLibya
wdArabicMorocco
wdArabicOman
wdArabicQatar
wdArabicSyria
wdArabicTunisia
wdArabicUAE
wdArabicYemen
wdArmenian
wdAssamese
wdAzeriCyrillic
wdAzeriLatin
wdBelgianDutch
wdBengali
wdBulgarian
wdByelorussian
wdCherokee
wdChineseMacao
wdCroatian
wdDanish
wdEnglishAUS
wdEnglishCanadian
wdEnglishIreland
wdEnglishNewZealand
wdEnglishSouthAfrica
wdEnglishUK
wdEnglishZimbabwe
wdFaeroese
wdFinnish
wdFrenchCameroon
wdFrenchCotedIvoire
wdFrenchMali
wdFrenchReunion
wdFrenchWestIndies
wdFrisianNetherlands
wdGaelicScotland
wdGeorgian
wdGermanAustria
wdGermanLuxembourg
wdGujarati
wdHindi
wdIcelandic
wdInuktitut
wdJapanese
wdKashmiri
wdKhmer
wdKonkani
wdLanguageNone
wdLatvian
wdMacedonian
wdMalayBruneiDarussalam
wdMaltese
wdMarathi
wdMongolian
wdNoProofing
wdNorwegianNynorsk
wdPolish
wdPunjabi
wdRomanian
wdRussian
wdSamiLappish
wdSerbianCyrillic
wdSesotho
wdSindhi
wdSlovenian
wdSpanish
wdSpanishBolivia
wdSpanishColombia
wdSpanishDominicanRepublic
wdSpanishElSalvador
wdSpanishHonduras
wdSpanishNicaragua
wdSpanishParaguay
wdSpanishPuertoRico
wdSpanishVenezuela
wdSwahili
wdSwedishFinland
wdSwissGerman
wdTajik
wdTatar
wdThai
wdTraditionalChinese
wdTswana
wdBasque
wdBelgianFrench
wdBrazilianPortuguese
wdBurmese
wdCatalan
wdChineseHongKong
wdChineseSingapore
wdCzech
wdDutch
wdEnglishBelize
wdEnglishCaribbean
wdEnglishJamaica
wdEnglishPhilippines
wdEnglishTrinidad
wdEnglishUS
wdEstonian
wdFarsi
wdFrench
wdFrenchCanadian
wdFrenchLuxembourg
wdFrenchMonaco
wdFrenchSenegal
wdFrenchZaire
wdGaelicIreland
wdGalician
wdGerman
wdGermanLiechtenstein
wdGreek
wdHebrew
wdHungarian
wdIndonesian
wdItalian
wdKannada
wdKazakh
wdKirghiz
wdKorean
wdLao
wdLithuanian
wdMalayalam
wdMalaysian
wdManipuri
wdMexicanSpanish
wdNepali
wdNorwegianBokmol
wdOriya
wdPortuguese
wdRhaetoRomanic
wdRomanianMoldova
wdRussianMoldova
wdSanskrit
wdSerbianLatin
wdSimplifiedChinese
wdSlovak
wdSorbian
wdSpanishArgentina
wdSpanishChile
wdSpanishCostaRica
wdSpanishEcuador
wdSpanishGuatemala
wdSpanishModernSort
wdSpanishPanama
wdSpanishPeru
wdSpanishUruguay
wdSutu
wdSwedish
wdSwissFrench
wdSwissItalian
wdTamil
wdTelugu
wdTibetan
wdTsonga
wdTurkish
wdTurkmen
wdUkrainian
wdUrdu
wdUzbekCyrillic
wdUzbekLatin
wdVenda
wdVietnamese
wdWelsh
wdXhosa
wdZulu

expression.LanguageIDOther

expression   必需。该表达式返回“应用于”列表中的一个对象。

说明

推荐使用本方法,来设置或返回在 Microsoft Word 从右向左语言版本所创建的文档中西文文字所用的语言。

VBA示例

本示例将所选内容的语言设置为法语。


Selection.LanguageIDOther = wdFrench

Word VBA教程

Word VBA参考教程:目录1 Word VBA参考教程:目录2
Word VBA参考教程:目录3 Word VBA参考教程:目录4
Word VBA参考教程:目录5 Word VBA参考教程:目录6
Word VBA参考教程:目录7 Word VBA参考教程:目录8
Word VBA参考教程:目录9 Word VBA参考教程:目录10
版权所有 © 中山市飞娥软件工作室 证书:粤ICP备09170368号