Share via


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)

Syntax

'Declaration
Public Enumeration AnalysisWarningCode
'Usage
Dim instance As AnalysisWarningCode
public enum AnalysisWarningCode
public enum class AnalysisWarningCode
public enum AnalysisWarningCode

Members

Member name Description
Aborted Indicates 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.

NoMatchingInkRecognizerFound Indicates 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.
FactoidNotSupported Indicates that the ink recognizer was unable to respect the Factoid specified in the hint.
FactoidCoercionNotSupported Indicates that the ink recognizer was unable to coerce its results to the specified in the hint's Factoid.
GuideNotSupported Indicates that the ink recognizer was unable to respect the Guide specified in the hint.
WordlistNotSupported Indicates that the ink recognizer was unable to respect the specified word list set by SetWordlist.
WordModeNotSupported Indicates that the ink recognizer was unable to respect the specified WordMode.
PartialDictionaryTermsNotSupported Indicates that partial dictionary terms could not be returned from the InkRecognizer even though the hints contained the request for partial dictionary terms as well.
TextRecognitionProcessFailed Indicates the text recognition process failed.
AddInkToRecognizerFailed Indicates 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.
SetPrefixSuffixFailed Indicates that the InkRecognizer was unable to respect the specified PrefixText or SuffixText value.
InkRecognizerInitializationFailed This error adds the AddInkToRecognizerFailed warning.
ConfirmedWithoutInkRecognition Indicates that a ContextNode has been confirmed by the user without having any recognition values computed for the node.
BackgroundException Indicates 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.
ContextNodeLocationNotSet Indicates 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.
LanguageIdNotRespected Indicates 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.
EnableUnicodeCharacterRangesNotSupported Indicates that the InkRecognizer does not support enabling Unicode character ranges as specified in the hint.
TopInkBreaksOnlyNotSupported Indicates that the InkRecognizer does not support TopInkBreaks only even though the hints contained the request for TopInkBreaks only.
AnalysisAlreadyRunning Indicates that the InkAnalyzer is already performing background analysis.

Remarks

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.

Platforms

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.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

Microsoft.Ink Namespace