Share via


RecognizerContext.BackgroundRecognizeWithAlternates Method (Object)

Causes the Recognizer object to recognize the associated Strokes collection and raise a RecognitionWithAlternates event, with associated application data, when recognition is complete.

Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)

Syntax

'Declaration
Public Sub BackgroundRecognizeWithAlternates ( _
    customData As Object _
)
'Usage
Dim instance As RecognizerContext
Dim customData As Object

instance.BackgroundRecognizeWithAlternates(customData)
public void BackgroundRecognizeWithAlternates (
    Object customData
)
public:
void BackgroundRecognizeWithAlternates (
    Object^ customData
)
public void BackgroundRecognizeWithAlternates (
    Object customData
)
public function BackgroundRecognizeWithAlternates (
    customData : Object
)
Not applicable.

Parameters

  • customData
    Any application-defined data that is available to the application in the Recognition event. The default value is a null reference (Nothing in Visual Basic) (Nothing in Microsoft® Visual Basic® .NET).

Remarks

This method specifies that ink recognition is performed asynchronously.

To perform recognition that includes only the top alternate, call the BackgroundRecognize method.

The RecognitionWithAlternates event is not raised if the recognizer does not recognize any alternates.

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

RecognizerContext Class
RecognizerContext Members
Microsoft.Ink Namespace
BackgroundRecognizeWithAlternates
Microsoft.Ink.RecognizerContext.BackgroundRecognize
ExtendedProperty.Data
RecognitionAlternate