Document.CheckGrammar Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Begins a spelling and grammar check for the document.
public:
void CheckGrammar();
public void CheckGrammar ();
abstract member CheckGrammar : unit -> unit
Public Sub CheckGrammar ()
Remarks
If the document contains errors, this method displays the Spelling and Grammar dialog box, with the Check grammar check box selected.
This method checks all available stories (such as headers, footers, and text boxes).