共用方式為


DocumentBase.SpellingChecked Property

Gets or sets a value that indicates whether spelling has been checked throughout the document.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Syntax

'Declaration
Public Property SpellingChecked As Boolean
public bool SpellingChecked { get; set; }

Property Value

Type: System.Boolean
true if spelling has been checked throughout the document; otherwise, false.

Remarks

To recheck the spelling in the document, set the SpellingChecked property to false.

To see whether the document contains spelling errors, use the SpellingErrors property.

.NET Framework Security

See Also

Reference

DocumentBase Class

Microsoft.Office.Tools.Word Namespace