Represents a language used for proofing or formatting in Microsoft Word.
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
The Language object is a member of the Languages collection.
Use Languages(index) to return a single Language object, where index can be the value of the Name property, the value of the NameLocal property, one of the WdLanguageID constants, or one of the constants.
For each language for which proofing tools are installed, you can use the ActiveGrammarDictionary, ActiveHyphenationDictionary, ActiveSpellingDictionary, and ActiveThesaurusDictionary properties to return the corresponding Dictionary object.
The writing style is the set of rules used by the grammar checker. The WritingStyleList property returns an array of strings that represent the available writing styles for the specified language.
Use the DefaultWritingStyle property to set the default writing style you want Word to use.
You can override the default writing style with the ActiveWritingStyle property. This property is applied to a specified document for text marked in a specified language.
You must have the proofing tools installed for each language you intend to check.
If you mark text as wdNoProofing, Word skips the marked text when running a spelling or grammar check.