Udostępnij za pośrednictwem


Document.GrammarChecked Property (2007 System)

Gets or sets a value that indicates whether a grammar check has been run on 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 GrammarChecked As Boolean
'Usage
Dim instance As Document 
Dim value As Boolean 

value = instance.GrammarChecked

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

Property Value

Type: System.Boolean
true if a grammar check has been run on the document; otherwise, false.

Remarks

To recheck the grammar in the document, set the GrammarChecked property to false.

.NET Framework Security

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace