Get the word language

M

Micro

Hi all:
I want to get the word application language.In .net, I get it by this
sentence:
Document.Application.Language.ToString(). When I set the language to
French,it returns msoLanguageFrench,but when I set the language to
French(Canada),it also returns msoLanguageFrench. I am not sure they are
correct. Or I can get the word language by other ways? Could you give me some
suggestions? Thanks a lot.
 
D

Doug Robbins - Word MVP

The LanguageID property might be more precise.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
M

Micro

Hi Doug:
Thanks for your reply. The return object type of
Document.Application.Language is Microsoft.Office.Core.MsoLanguageID. Am I
right through this way to get LanguageID? I also want to know if I setup
English version word,then I setup a French language pack, can I get the
languageID of French?

best wishes
Thanks.
Micro
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top