Range.GrammarChecked Property
Determines if a grammar check has been run on the specified range.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim range1 As Range
Dim returnValue As Boolean
returnValue = range1.GrammarChecked
Dim sampleValue As Boolean
range1.GrammarChecked = sampleValue
Syntax
Property GrammarChecked() As Boolean
bool GrammarChecked {get; set;}
property Boolean GrammarChecked{
Boolean get();
Void set(Boolean);
}
public boolean get_GrammarChecked();
public void set_GrammarChecked(boolean);
function get GrammarChecked() : Boolean;
function set GrammarChecked(Boolean);
Remarks
This property returns True if a grammar check has been run on the specified range or document, and False if some of the specified range or document hasn't been checked for grammar.
To recheck the grammar in a range or document, set the GrammarChecked property to False.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Range Interface
Microsoft.Office.Interop.Word Namespace