L_Doc2GetSpecialChar

#include "ltdoc2.h"

L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2GetSpecialChar(hDoc, pSpecialChar, uStructSize)

Gets the current special characters used in the last recognition or save results process.

Parameters

L_HDOC2 hDoc

Handle to the OCR document.

pSPECIALCHAR2 pSpecialChar

Pointer to a SPECIALCHAR2 structure to be updated.

L_UINT uStructSize

Size in bytes, of the structure pointed to by pSpecialChar, use sizeof(SPECIALCHAR2) to calculate this value.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

Special characters are the characters the engine will use when replacing all missing or rejected characters. This helps the user find the missing or rejected characters with minimal effort when the recognition results are saved to a file.

To update the special characters, call the L_Doc2SetSpecialChar / L_Doc2SetSpecialCharExt function.

To recognize one or more pages, call the L_Doc2Recognize / L_Doc2RecognizeExt function.

Required DLLs and Libraries

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.