共用方式為


DocumentBase.ShowGrammaticalErrors Property

Definition

Gets or sets a value that indicates whether grammatical errors are marked by a wavy green line in the document.

public:
 property bool ShowGrammaticalErrors { bool get(); void set(bool value); };
public bool ShowGrammaticalErrors { get; set; }
member this.ShowGrammaticalErrors : bool with get, set
Public Property ShowGrammaticalErrors As Boolean

Property Value

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.

Applies to