_Document.ShowGrammaticalErrors property

Determines if grammatical errors are marked by a wavy green line in the specified document.

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

bool ShowGrammaticalErrors { get; set; }

Property value

Type: System.Boolean

This property returns True if grammatical errors are marked by a wavy green line in the specified document, and False if not. Set the property value to True or False to enable or disable the functionality.

To view grammatical errors in your document, you must set the CheckGrammarAsYouType property to True.

Show: