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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.