Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback. Word Object Model Reference Support and feedback dic files (custom spelling dictionaries). lex files (built-in proofing dictionaries) and False for. MsgBox mySpell.Path & Application.PathSeparator & mySpell.Name Set myspell = Languages(wdEnglishUS).ActiveSpellingDictionary The following example returns the full path for the active spelling dictionary used in the U.S. If the dictionary is language specific, it will verify only text that's formatted for the specified language.įor each language for which proofing tools are installed, you can use the ActiveGrammarDictionary, ActiveHyphenationDictionary, ActiveSpellingDictionary, and ActiveThesaurusDictionary properties to return the corresponding Dictionary objects. Use the LanguageSpecific property to determine whether the specified custom dictionary can have a specific language assigned to it with the LanguageID property. Msgbox d.Path & Application.PathSeparator & d.Name The following example displays a message box that contains the full path for each dictionary. Use the Name and Path properties to locate any of the dictionaries. CustomDictionaries.Add FileName:="M圜ustom.dic" The following example adds "M圜ustom.dic" to the collection of custom dictionaries. If there is no file with the name specified by FileName, Word creates it. Use the Add method to add a new dictionary to the collection of active custom dictionaries. If you try to set this property to a dictionary that's not a custom dictionary, an error occurs. You can rate examples to help us improve the quality of examples. These are the top rated real world C (CSharp) examples of MyDictionary.DictionaryList extracted from open source projects. Use the ActiveCustomDictionary property to set the custom spelling dictionary in the collection to which new words are added. C (CSharp) MyDictionary DictionaryList - 4 examples found. The following example returns the dictionary named "MyDictionary." CustomDictionaries("MyDictionary") The following example returns the first dictionary in the collection. Initially, the value associated with the key 112 is 'Kyle'. Use CustomDictionaries (Index), where Index is an index number or the string name for the dictionary, to return a single Dictionary object that represents a custom dictionary. In the above example, we have created a dictionary named studentid. Other dictionary objects are returned by properties of the Languages collection these include the ActiveSpellingDictionary, ActiveGrammarDictionary, ActiveThesaurusDictionary, and ActiveHyphenationDictionary properties. Dictionary objects that represent custom dictionaries are members of the Dictionaries collection.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |