Options.ContextualSpeller Property
Returns or sets a Boolean that represents whether to use the contextual speller to check spelling based on the context of a word and the words around it. Read/write.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property ContextualSpeller As Boolean
Get
Set
'Usage
Dim instance As Options
Dim value As Boolean
value = instance.ContextualSpeller
instance.ContextualSpeller = value
bool ContextualSpeller { get; set; }
Property Value
Type: System.Boolean
String
Remarks
The contextual speller indentifies the structure of words and their location within a sentence to determine if spelling is correct. It can find errors that the standard spelling checker cannot find. For example, a user might type "superb owl" instead of "super bowl". Because both "superb" and "owl" are correctly spelled words, the standard spelling checker would not find an error. Based on the words in context of the sentence and the words around them, the contextual speller determines that the correct words are "super" and "bowl" and makes the change automatically.
This property corresponds to the Use contextual spelling check box in the Proofing tab of the Word Options dialog box.