RecognizerContext 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 following tables list the members exposed by the RecognizerContext type.
Public Constructors
Name | Description | |
---|---|---|
RecognizerContext | Initializes a new instance of the RecognizerContext class. |
Top
Public Properties
Name | Description | |
---|---|---|
CharacterAutoCompletion | Gets or sets the character Autocomplete mode, which determines when characters or words are recognized. | |
Factoid | Gets or sets the string name of the factoid used by the RecognizerContext object. | |
Guide | Gets or sets the RecognizerGuide to use for ink input. | |
PrefixText | Gets or sets the characters that come before the Strokes collection in the RecognizerContext object. | |
RecognitionFlags | Gets or sets the flags that specify how the recognizer interprets the ink and determines the result string. | |
Recognizer | Gets the Recognizer object used by the RecognizerContext object. | |
Strokes | Gets or sets the Strokes collection associated with the RecognizerContext object. | |
SuffixText | Gets or sets the characters that come after the Strokes collection in the RecognizerContext object. | |
WordList | Gets or sets the WordList object that is used to improve the recognition results. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
BackgroundRecognize | Overloaded. Causes the Recognizer object to recognize the associated Strokes collection and raise a Recognition event when recognition is complete. | |
BackgroundRecognizeWithAlternates | Overloaded. Causes the Recognizer object to recognize the associated Strokes collection and raise a RecognitionWithAlternates event when recognition is complete. | |
Clone | Creates a copy of this RecognizerContext object. | |
Dispose | Overloaded. Releases resources used by the RecognizerContext object. | |
EndInkInput | Ends ink input to the RecognizerContext object. | |
Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) | |
GetEnabledUnicodeRanges | Returns an array of UnicodeRange that the recognizer supports. | |
GetHashCode | Serves as a hash function for a particular type. (inherited from Object) | |
GetType | Gets the Type of the current instance. (inherited from Object) | |
IsStringSupported | Returns a value that indicates whether the system dictionary, user dictionary, or WordList contain a specified string. | |
Recognize | Returns a RecognitionResult object for a Strokes collection. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) | |
SetEnabledUnicodeRanges | Enables one or more Unicode ranges on the context. | |
StopBackgroundRecognition | Ends background recognition that was started with a call to BackgroundRecognize or BackgroundRecognizeWithAlternates. | |
ToString | Returns a String that represents the current Object. (inherited from Object) |
Top
Protected Methods
Name | Description | |
---|---|---|
Dispose | Overloaded. Releases resources used by the RecognizerContext object. | |
Finalize | Overridden. Frees the resources of the current RecognizerContext object before it is reclaimed by the garbage collector. | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Top
Public Events
Name | Description | |
---|---|---|
Recognition | Occurs when the RecognizerContext object has generated results from the BackgroundRecognize method. | |
RecognitionWithAlternates | Occurs when the RecognizerContext object has generated results after calling the BackgroundRecognizeWithAlternates method. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
System.ICloneable.Clone | Creates a new object that is a copy of the current instance. |
Top
See Also
Reference
RecognizerContext Class
Microsoft.Ink Namespace
Recognizer
Strokes