ISpellChecker interface
Represents a particular spell checker for a particular language.
The ISpellChecker can be used to check text, get suggestions, update user dictionaries, and maintain options.
When to implement
Do not implement. This is a spell checker returned by ISpellCheckerFactory::CreateSpellChecker.
Members
The ISpellChecker interface inherits from the IUnknown interface. ISpellChecker also has these types of members:
Methods
The ISpellChecker interface has these methods.
| Method | Description |
|---|---|
| Add |
Treats the provided word as though it were part of the original dictionary. |
| add_SpellCheckerChanged |
Adds an event handler (ISpellCheckerChangedEventHandler) for the SpellCheckerChanged event. |
| AutoCorrect |
Causes occurrences of one word to be replaced by another. |
| Check |
Checks the spelling of the supplied text and returns a collection of spelling errors. |
| ComprehensiveCheck |
Checks the spelling of the supplied text in a more thorough manner than ISpellChecker::Check, and returns a collection of spelling errors. |
| GetOptionDescription |
Retrieves the information (id, description, heading and labels) of a specific option. |
| GetOptionValue |
Retrieves the value associated with the given option. |
| Ignore |
Ignores the provided word for the rest of this session. |
| remove_SpellCheckerChanged |
Removes an event handler (ISpellCheckerChangedEventHandler) that has been added for the SpellCheckerChanged event. |
| Suggest |
Retrieves spelling suggestions for the supplied text. |
Properties
The ISpellChecker interface has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
Gets the identifier for this spell checker. | |
|
Read-only |
Gets the BCP47 language tag this instance of the spell checker supports. | |
|
Read-only |
Gets text, suitable to display to the user, that describes this spell checker. | |
|
Read-only |
Gets all of the declared option identifiers. |
Requirements
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|