編輯

共用方式為


_Document.CheckGrammar Method

Definition

Begins a spelling and grammar check for the specified document or range.

public:
 void CheckGrammar();
public void CheckGrammar ();
abstract member CheckGrammar : unit -> unit
Public Sub CheckGrammar ()

Remarks

If the document or range contains errors, this method displays the Spelling and Grammar dialog box (Tools menu), with the Check grammar check box selected. When applied to a document, this method checks all available stories (such as headers, footers, and text boxes).

Applies to