Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ISpellCheckerFactory interface

A factory for instantiating a spell checker (ISpellChecker) as well as providing functionality for determining which languages are supported.

ISpellCheckerFactory is the starting point for clients of the Spell Checking API, which should be created as an in-proc COM Server as shown in the example below.

Members

The ISpellCheckerFactory interface inherits from the IUnknown interface. ISpellCheckerFactory also has these types of members:

Methods

The ISpellCheckerFactory interface has these methods.

MethodDescription
CreateSpellChecker

Creates a spell checker that supports the specified language.

IsSupported

Determines if the specified language is supported by a registered spell checker.

 

Properties

The ISpellCheckerFactory interface has these properties.

PropertyAccess typeDescription

SupportedLanguages

Read-only

Gets the set of languages/dialects supported by any of the registered spell checkers.

 

Examples

Create the in-proc COM Server:


ISpellCheckerFactory* spellCheckerFactory;
HRESULT hr = CoCreateInstance(CLSID_SpellCheckerFactory, CLSCTX_INPROC_SERVER, IID_SpellCheckerFactory, 
    reinterpret_cast<PVOID*>(& spellCheckerFactory));

// CLSID_SpellCheckerFactory is defined as {7AB36653-1796-484B-BDFA-E74F1DB7C1DC}.


Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Spellcheck.h

IDL

Spellcheck.idl

See also

ISpellChecker

 

 

Show:
© 2017 Microsoft