Document.SpellingChecked Property
Gets or sets a value that indicates whether spelling has been checked throughout the document.
Namespace: Microsoft.Office.Tools.Word
Assemblies: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Syntax
'Declaration
Property SpellingChecked As Boolean
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.