共用方式為


RecognizerContext.BackgroundRecognize Method

RecognizerContext.BackgroundRecognize Method

Causes the Recognizer object to recognize the associated Strokes collection and raise a Recognition event when recognition is complete.

Overload List

public void BackgroundRecognize()
public void BackgroundRecognize(Object)

Remarks

This method specifies that ink recognition is performed asynchronously. To recognize ink synchronously, call the RecognizerContext.Recognize method.

This method recognizes only the best result string. This method does not create RecognitionAlternate objects. To perform recognition that creates a list of available alternates, call the BackgroundRecognizeWithAlternates method.

The Recognition event is not raised if the recognizer does not recognize anything.

Examples

See Also