AnalysisModes enumeration

Specifies how the IInkAnalyzer performs ink analysis.

Syntax

typedef enum AnalysisModes { 
  AnalysisModes_None                     = 0x0000,
  AnalysisModes_AutomaticReconciliation  = 0x0002,
  AnalysisModes_StrokeCacheAutoCleanup   = 0x0004,
  AnalysisModes_PersonalizationEnabled   = 0x0008,
  AnalysisModes_Default                  = 0x000d
} AnalysisModes;

Constants

AnalysisModes_None

No modes are specified.

AnalysisModes_AutomaticReconciliation

Whether the IInkAnalyzer automatically starts the reconciliation operation as soon as the intermediate or final results are ready.

If this mode is enabled, the _IAnalysisEvents::ReadyToReconcile event is not raised. If this mode is disabled, the _IAnalysisEvents::ReadyToReconcile event is raised.

AnalysisModes_StrokeCacheAutoCleanup

Whether the IInkAnalyzer automatically clears unneeded strokes from the stroke cache before performing analysis.

If this mode is enabled, the IInkAnalyzer clears the stroke data before performing analysis. Your code must also then handle the _IAnalysisEvents::UpdateStrokesCache event. If the _IAnalysisEvents::UpdateStrokesCache event is not handled, an exception is raised. This check is done both at the Analyze (or BackgroundAnalyze) and Reconciliation phases.

If this mode is disabled, the IInkAnalyzer does not clear the stroke data. To clear the stroke data, call IInkAnalyzer::ClearStrokeData Method. If this mode is disabled, the _IAnalysisEvents::UpdateStrokesCache event is raised so the IInkAnalyzer can retrieve the latest stroke data for any strokes that have had their cache cleared. If the stroke cache is cleared, but the _IAnalysisEvents::UpdateStrokesCache event is not handled, an exception is raised.

AnalysisModes_PersonalizationEnabled

Personalization of handwriting recognition is enabled.

AnalysisModes_Default

All modes are enabled.

Remarks

This enumeration allows a bitwise combination of its member values.

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)

See also

IInkAnalyzer::GetAnalysisModes Method

IInkAnalyzer::SetAnalysisModes Method

_IAnalysisEvents::IntermediateResults

_IAnalysisEvents::ReadyToReconcile

_IAnalysisEvents::UpdateStrokesCache

Ink Analysis Reference