Export (0) Print
Expand All
Expand Minimize

AnalysisWarningCode Enumeration

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

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)

public enum AnalysisWarningCode

Member nameDescription
AbortedIndicates the analysis operation was aborted. Returned only when the synchronous analysis operation is called. Aborting an asynchronous operation will not raise a ResultsUpdated event.

The analysis operation was aborted as a result from a call to Abort by the application.

NoMatchingInkRecognizerFoundIndicates that there are not any ink recognizers that meet the language or capabilities needed to perform the text recognition operation installed on the system. No recognizer was found supporting both that particular language id and the hint capabilities that the application required. For example in a Japanese box mode scenario, we might have found a Japanese recognizer but it did not support box mode as specified in the hint.
FactoidNotSupportedIndicates that the ink recognizer was unable to respect the Factoid specified in the hint.
FactoidCoercionNotSupportedIndicates that the ink recognizer was unable to coerce its results to the specified in the hint's Factoid.
GuideNotSupportedIndicates that the ink recognizer was unable to respect the Guide specified in the hint.
WordlistNotSupportedIndicates that the ink recognizer was unable to respect the specified word list set by SetWordlist.
WordModeNotSupportedIndicates that the ink recognizer was unable to respect the specified WordMode.
PartialDictionaryTermsNotSupportedIndicates that partial dictionary terms could not be returned from the InkRecognizer even though the hints contained the request for partial dictionary terms as well.
TextRecognitionProcessFailedIndicates the text recognition process failed.
AddInkToRecognizerFailedIndicates that the ink could not be added to the InkRecognizer. For example, adding strokes collected from a mouse on a gesture recognizer will fail, as the gesture recognizer requires strokes collected from a digitizer.
SetPrefixSuffixFailedIndicates that the InkRecognizer was unable to respect the specified PrefixText or SuffixText value.
InkRecognizerInitializationFailedThis error adds the AddInkToRecognizerFailed warning.
ConfirmedWithoutInkRecognitionIndicates that a ContextNode has been confirmed by the user without having any 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 the InkAnalyzer is re-instantiated before further use.
ContextNodeLocationNotSetIndicates that a ContextNode does not have 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 of the InkRecognizer used. The ink was still recognized with the specified InkRecognizer.
EnableUnicodeCharacterRangesNotSupportedIndicates that the InkRecognizer does not support enabling Unicode character ranges as specified in the hint.
TopInkBreaksOnlyNotSupportedIndicates that the InkRecognizer does not support TopInkBreaks only even though the hints contained the request for TopInkBreaks only.
AnalysisAlreadyRunningIndicates that the InkAnalyzer is already performing background analysis.

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

Other warnings, such as InkRecognizerInitializationFailed and TextRecognitionProcessFailed, might require that the InkAnalyzer use a different recognizer.

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

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

Community Additions

ADD
Show:
© 2014 Microsoft