_Document.ShowSpellingErrors Property

Determines if Microsoft Word underlines spelling errors in the document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property ShowSpellingErrors As Boolean
    Get
    Set
'Usage
Dim instance As _Document
Dim value As Boolean

value = instance.ShowSpellingErrors

instance.ShowSpellingErrors = value
bool ShowSpellingErrors { get; set; }

Property Value

Type: System.Boolean

Remarks

This property returns True if Microsoft Word underlines spelling errors in the document, and False if it does not. Set the property value to True or False to enable or disable the functionality.

To view spelling errors in a document, you must set the CheckSpellingAsYouType property to True.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace