SpellingChecked Property
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

_Document.SpellingChecked Property 

Determines if spelling has been checked throughout the specified range or document.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Dim _Document1 As _Document

Dim returnValue As Boolean
returnValue = _Document1.SpellingChecked

Dim sampleValue As Boolean
_Document1.SpellingChecked = sampleValue

bool SpellingChecked {get; set;}
public boolean get_SpellingChecked();
public void set_SpellingChecked(boolean);
function get SpellingChecked() : Boolean;
function set SpellingChecked(Boolean);

This property returns True if spelling has been checked throughout the specified range or document, and False if all or some of the range or document hasn't been checked for spelling. Set the property value to True or False to enable or disable the functionality.

To recheck the spelling in a range or document, set the SpellingChecked property to False.

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

© 2015 Microsoft