Options.CheckGrammarWithSpelling Property

True if Microsoft Word checks grammar while checking spelling.

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

Syntax

'Declaration
Property CheckGrammarWithSpelling As Boolean
    Get
    Set
'Usage
Dim instance As Options
Dim value As Boolean

value = instance.CheckGrammarWithSpelling

instance.CheckGrammarWithSpelling = value
bool CheckGrammarWithSpelling { get; set; }

Property Value

Type: System.Boolean

Remarks

This property controls whether Word checks grammar when you check spelling by using the Spelling command (Tools menu).

To check spelling or grammar programmatically, use the CheckSpelling method of the Application, Document, or Range object to check only spelling and use the CheckGrammar method of the Application, Document, or Range object to check both grammar and spelling.

See Also

Reference

Options Interface

Options Members

Microsoft.Office.Interop.Word Namespace