Document.ShowSpellingErrors Property (2007 System)

Gets or sets a value that indicates whether Microsoft Office Word underlines spelling errors in the document.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property ShowSpellingErrors As Boolean
'Usage
Dim instance As Document 
Dim value As Boolean 

value = instance.ShowSpellingErrors

instance.ShowSpellingErrors = value
[BrowsableAttribute(false)]
public bool ShowSpellingErrors { get; set; }
[BrowsableAttribute(false)]
public:
property bool ShowSpellingErrors {
    bool get ();
    void set (bool value);
}
public function get ShowSpellingErrors () : boolean 
public function set ShowSpellingErrors (value : boolean)

Property Value

Type: System.Boolean
true if Microsoft Office Word underlines spelling errors in the document; otherwise, false.

Remarks

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

.NET Framework Security

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace