L_LTDOC2_API L_INT L_Doc2GetSpecialCharExt(hDoc, nDocId, pSpecialChar, uStructSize)
Gets the current special characters used in the last recognition or save results process.
Handle to the OCR document.
Document ID created by calling L_Doc2CreateDocument.
Pointer to a SPECIALCHAR2 structure to be updated.
Size in bytes, of the structure pointed to by pSpecialChar. Use sizeof(SPECIALCHAR2) to calculate this value.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Special characters are the characters the engine will use when replacing all missing or rejected characters. This helps finding the missing or rejected characters with minimal effort when the recognition results are saved to a file.
Required DLLs and Libraries
For an example, refer to L_Doc2SetSpecialCharExt.