Range.CheckSpelling method

Begins a spelling check for the specified range.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

void CheckSpelling(
	ref Object CustomDictionary,
	ref Object IgnoreUppercase,
	ref Object AlwaysSuggest,
	ref Object CustomDictionary2,
	ref Object CustomDictionary3,
	ref Object CustomDictionary4,
	ref Object CustomDictionary5,
	ref Object CustomDictionary6,
	ref Object CustomDictionary7,
	ref Object CustomDictionary8,
	ref Object CustomDictionary9,
	ref Object CustomDictionary10
)

Parameters

CustomDictionary
Type: System.Object

Optional Object. Either an expression that returns a Dictionary object or the file name of the custom dictionary.

IgnoreUppercase
Type: System.Object

Optional Object. True if capitalization is ignored. If this argument is omitted, the current value of the IgnoreUppercase property is used.

AlwaysSuggest
Type: System.Object

Optional Object. True for Microsoft Word to always suggest alternative spellings. If this argument is omitted, the current value of the SuggestSpellingCorrections property is used.

CustomDictionary2
Type: System.Object

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary. You can specify as many as nine additional dictionaries.

CustomDictionary3
Type: System.Object

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary.

CustomDictionary4
Type: System.Object

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary.

CustomDictionary5
Type: System.Object

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary.

CustomDictionary6
Type: System.Object

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary.

CustomDictionary7
Type: System.Object

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary.

CustomDictionary8
Type: System.Object

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary.

CustomDictionary9
Type: System.Object

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary.

CustomDictionary10
Type: System.Object

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary.

If the document or range contains errors, this method displays the Spelling and Grammar dialog box (Tools menu), with the Check grammar check box cleared. For a document, this method checks all available stories (such as headers, footers, and text boxes).

Show: