Document.ShowGrammaticalErrors Property (2007 System)

Gets or sets a value that indicates whether grammatical errors are marked by a wavy green line in the document.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property ShowGrammaticalErrors As Boolean
'Usage
Dim instance As Document 
Dim value As Boolean 

value = instance.ShowGrammaticalErrors

instance.ShowGrammaticalErrors = value
[BrowsableAttribute(false)]
public bool ShowGrammaticalErrors { get; set; }
[BrowsableAttribute(false)]
public:
property bool ShowGrammaticalErrors {
    bool get ();
    void set (bool value);
}
public function get ShowGrammaticalErrors () : boolean 
public function set ShowGrammaticalErrors (value : boolean)

Property Value

Type: System.Boolean
true if grammatical errors are marked by a wavy green line in the document; otherwise, false.

Remarks

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

.NET Framework Security

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace