InkRecognizerContext.RecognitionFlags property
Applies to: desktop apps only
Gets or sets the flags that specify how the recognizer interprets the ink and determines the result string.
This property is read/write.
Syntax
HRESULT put_RecognitionFlags( [in] InkRecognitionModes Modes ); HRESULT get_RecognitionFlags( [out, retval] InkRecognitionModes *Modes );
Property value
The flags that specify how the recognizer interprets the ink and determines the result string.
Error codes
| Name | Meaning |
|---|---|
|
Success. |
|
The flag is invalid. |
|
The recognizer does not support this property. |
|
Cannot allocate memory to complete the operation. |
|
An unspecified error occurred. |
|
An exception occurred inside the method. |
|
The parameter is an invalid out pointer. |
|
Invalid mode. |
|
Unexpected parameter or property type. |
|
This property cannot be assigned after strokes have been added to the Strokes property. |
Remarks
The RecognitionFlags property gets or sets flags that specify things such as whether the recognizer treats all ink as a single word or whether the recognizer coerces the result based on the factoid that you specified for the context.
Setting the RecognitionFlags property succeeds only if the Strokes property is NULL.
For a list of modes that you can use, see the InkRecognitionModes enumeration type.
Note You can combine modes using the bitwise OR operator.
Requirements
|
Minimum supported client | Windows XP Tablet PC Edition |
|---|---|
|
Minimum supported server | None supported |
|
Header |
|
|
Library |
|
See also
Send comments about this topic to Microsoft
Build date: 3/6/2012