IInkAnalyzer::GetAlternates method

Retrieves 10 analysis alternates for all ink associated with the IInkAnalyzer.

Syntax

HRESULT GetAlternates(
  [out] IAnalysisAlternates **ppAlternates
);

Parameters

ppAlternates [out]

A pointer to the top 10 IAnalysisAlternate objects for all ink associated with the IInkAnalyzer.

Return value

For a description of the return values, see Classes and Interfaces - Ink Analysis.

Remarks

Caution

To avoid a memory leak, call IUnknown::Release on ppAlternates when you no longer need to use the object.

The top alternate is returned as the first alternate of the collection.

Requirements

Requirement Value
Minimum supported client
Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server
None supported
Header
IACom.h (also requires IACom_i.c)
DLL
IACom.dll

See also

IInkAnalyzer

IAnalysisAlternate

IAnalysisAlternates

IInkAnalyzer::GetAlternatesForContextNodes Method

IInkAnalyzer::GetAlternatesForStrokes Method

IInkAnalyzer::ModifyTopAlternate Method

IInkAnalyzer::ModifyTopAlternateWithConfirmation Method

Ink Analysis Reference