IInkAnalyzer::ModifyTopAlternate method

Changes the current top alternate to the specified alternate and clears the confirmation type for all IContextNode objects associated with the alternate.

Syntax

HRESULT ModifyTopAlternate(
  [in] IAnalysisAlternate *pAlternate
);

Parameters

pAlternate [in]

The IAnalysisAlternate object containing the new top alternate.

Return value

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

Remarks

To get analysis alternates, use IInkAnalyzer::GetAlternates Method, IInkAnalyzer::GetAlternatesForContextNodes Method, or IInkAnalyzer::GetAlternatesForStrokes Method. To get the IContextNode objects associated with an analysis alternate, use IAnalysisAlternate::GetAlternateNodes Method.

To change the confirmation type for a context node, use IContextNode::Confirm.

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

IContextNode

ConfirmationType

Ink Analysis Reference