RecognizerContext Members

Include Protected Members
Include Inherited Members

Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members

Enables the ability to perform ink recognition, retrieve the recognition result, and retrieve alternates. The RecognizerContext enables the various recognizer that are installed on a system to use ink recognition to process input appropriately.

The RecognizerContext type exposes the following members.

Constructors

  Name Description
Public method RecognizerContext Initializes a new instance of the RecognizerContext class.

Top

Methods

  Name Description
Public method BackgroundRecognize Overloaded. Causes the Recognizer object to recognize the associated Strokes collection and raise a Recognition event when recognition is complete.
Public method BackgroundRecognizeWithAlternates Overloaded. Causes the Recognizer object to recognize the associated Strokes collection and raise a RecognitionWithAlternates event when recognition is complete.
Public method Clone Creates a copy of this RecognizerContext object.
Public method Dispose Overloaded. Releases resources used by the RecognizerContext object.
Public method EndInkInput Ends ink input to the RecognizerContext object.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Frees the resources of the current RecognizerContext object before it is reclaimed by the garbage collector. (Overrides Object.Finalize().)
Public method GetEnabledUnicodeRanges Returns an array of UnicodeRange that the recognizer supports.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method IsStringSupported Returns a value that indicates whether the system dictionary, user dictionary, or WordList contain a specified string.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Recognize Returns a RecognitionResult object for a Strokes collection.
Public method SetEnabledUnicodeRanges Enables one or more Unicode ranges on the context.
Public method StopBackgroundRecognition Ends background recognition that was started with a call to BackgroundRecognize or BackgroundRecognizeWithAlternates.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

  Name Description
Public property CharacterAutoCompletion Gets or sets the character Autocomplete mode, which determines when characters or words are recognized.
Public property Factoid Gets or sets the string name of the factoid used by the RecognizerContext object.
Public property Guide Gets or sets the RecognizerGuide to use for ink input.
Public property PrefixText Gets or sets the characters that come before the Strokes collection in the RecognizerContext object.
Public property RecognitionFlags Gets or sets the flags that specify how the recognizer interprets the ink and determines the result string.
Public property Recognizer Gets the Recognizer object used by the RecognizerContext object.
Public property Strokes Gets or sets the Strokes collection associated with the RecognizerContext object.
Public property SuffixText Gets or sets the characters that come after the Strokes collection in the RecognizerContext object.
Public property WordList Gets or sets the WordList object that is used to improve the recognition results.

Top

Events

  Name Description
Public event Recognition Occurs when the RecognizerContext object has generated results from the BackgroundRecognize method.
Public event RecognitionWithAlternates Occurs when the RecognizerContext object has generated results after calling the BackgroundRecognizeWithAlternates method.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICloneable.Clone

Top

See Also

Reference

RecognizerContext Class

Microsoft.Ink Namespace