다음을 통해 공유


Recognizer Property

Recognizer Property

Gets the IInkRecognizer object used by the InkRecognizerContext object.

Declaration

[C++]

[C++]
[propget] HRESULT get_Recognizer (
    [out, retval] InkRecognizer** Recognizer);

[Microsoft® Visual Basic® 6.0]

[Visual Basic]
Public Property Get Recognizer() As IInkRecognizer

Property Value

The IInkRecognizer object used by the InkRecognizerContext object.

This property is read-only.

Return Value

HRESULT value Description
S_OK Success.
E_FAIL An unspecified error occurred.
E_INK_EXCEPTION An exception occurred inside the method.
E_POINTER The parameter is an invalid pointer.

Example

[Visual Basic 6.0]

This Visual Basic 6.0 example gets the recognizer that is used by a new InkRecognizerContext object, theRecognizer.

[Visual Basic]
Dim theRecognizerContext As New InkRecognizerContext
Dim theRecognizer As IInkRecognizer
Set theRecognizer = theRecognizerContext.Recognizer

Applies To