Share via


_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)

Syntax

'Declaration
Property ShowGrammaticalErrors As Boolean
    Get
    Set
'Usage
Dim instance As _Document
Dim value As Boolean

value = instance.ShowGrammaticalErrors

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

Property Value

Type: System.Boolean

Remarks

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.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace