SetCACMode function (recapis.h)
Specifies character Autocomplete mode for character or word recognition.
You cannot turn off character Autocomplete after it is set.
Syntax
HRESULT SetCACMode(
HRECOCONTEXT hrc,
int iMode
);
Parameters
hrc
The handle to the recognizer context.
iMode
The following table lists the possible character Autocomplete modes.
Return value
This function can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
The specified mode is invalid. |
|
The recognizer does not support this function. |
|
Either you have not called the SetGuide function before calling this function, or the guide has more than one box. |
|
The context is invalid or one of the parameters is an invalid pointer. |
|
Attempted to set guide when there was already some ink in the reco context, or, in the case of recognizers of East Asian characters, SetGuide was called previously. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | recapis.h |
DLL | inkobjcore.dll |