IInkRecognizerContext::get_SuffixText method (msinkaut.h)

Gets or sets the characters that come after the InkStrokes collection in the InkRecognizerContext object.

This property is read/write.

Syntax

HRESULT get_SuffixText(
  BSTR *Suffix
);

Parameters

Suffix

Return value

None

Remarks

The suffix helps improve recognition results by supplying the recognizer with more context about the handwriting.

Setting the SuffixText property succeeds only if the Strokes property is NULL. You must set the SuffixText property before you attach an InkStrokes collection to the Strokes property of the InkRecognizerContext, or you must set the Strokes property to NULL and then set the SuffixText property.

Note  If you use the latter method, you may need to reattach the InkStrokes collection to the Strokes property of the InkRecognizerContext object.
 
Setting the SuffixText property to NULL removes any suffix text from the recognizer context.

The suffix text is ignored unless you have set both the Coerce and WordModeInkRecognitionModes flags in the RecognitionFlags property.

The PrefixText property gets or sets the characters that come before the InkStrokes collection in the InkRecognizerContext object and also helps improve the recognition result.

If your application provides a correction interface when converting ink to text, the application may allow the user to select characters within a word and use the stylus to generate replacement characters. Your application can use the PrefixText and SuffixText properties to improve recognition of the new ink.

Requirements

   
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header msinkaut.h
Library InkObj.dll

See also

IInkRecognizerContext

InkRecognizerContext Class

PrefixText Property

RecognitionFlags Property

Strokes Property