This documentation is archived and is not being maintained.

AnalysisWarningCode Enumeration

Defines values for the set of available warnings that can occur during ink analysis.

Namespace:  System.Windows.Ink
Assembly:  IAWinFX (in IAWinFX.dll)

public enum AnalysisWarningCode

Member nameDescription
AbortedIndicates that the analysis operation was aborted. Returned only when the synchronous analysis operation is called. Aborting an asynchronous operation will not raise a Results event.
NoMatchingInkRecognizerFoundIndicates that no ink recognizers meet the language or capabilities needed to perform the text recognition operation installed on the system.
FactoidNotSupportedIndicates that the ink recognizer was unable to respect the specified Factoid.
FactoidCoercionNotSupportedIndicates that the ink recognizer was unable to coerce its results to the specified Factoid.
GuideNotSupportedIndicates that the ink recognizer was unable to respect the specified Guide.
WordlistNotSupportedIndicates that the ink recognizer was unable to support the specified word list set by SetWordlist.
WordModeNotSupportedIndicates that the ink recognizer was unable to support the specified WordMode.
PartialDictionaryTermsNotSupportedIndicates that partial dictionary terms could not be returned from the InkRecognizer.
TextRecognitionProcessFailedIndicates the text recognition process failed.
AddInkToRecognizerFailedIndicates that InkRecognizer will not add ink. For example, adding strokes collected from a mouse on a gesture recognizer will fail, since the gesture recognizer requires strokes collected from a digitizer.
SetPrefixSuffixFailedIndicates that the InkRecognizer was unable to respect the specified PrefixText or SuffixText value.
InkRecognizerInitializationFailedIndicates that the InkRecognizer could not be instantiated or cloned. Alternatively, the setting strokes on the recognizer’s context may have failed.
ConfirmedWithoutInkRecognitionIndicates that a ContextNode has been confirmed by the user without having recognition values computed for the node.
BackgroundExceptionIndicates that the background operation did not complete due to an exception. This is a fatal error and requires that the InkAnalyzer is re-instantiated before further use.
ContextNodeLocationNotSetIndicates that a ContextNode is missing a proper Location set. The Location property must have a non-empty value unless the ContextNode is marked as partially populated.
LanguageIdNotRespectedIndicates that the language identifier set on a stroke associated with a CustomRecognizer did not match the language identifier for the used InkRecognizer. The ink was still recognized using the specified InkRecognizer.
EnableUnicodeCharacterRangesNotSupportedIndicates that the InkRecognizer does not support enabling Unicode character ranges as specified.
TopInkBreaksOnlyNotSupportedIndicates that the InkRecognizer does not support TopInkBreaksOnly.
AnalysisAlreadyRunningIndicates that the InkAnalyzer is already performing background analysis.

BackgroundException is the only warning that requires InkAnalyzer to be re-instantiated before further use.

Other warnings, such as InkRecognizerInitializationFailed and InkRecognizerNotInstalled, might require InkAnalyzer to use a different recognizer.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.0