#include "ltdoc2.h"
L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2GetPreProcessingOptions(hDoc, pOptions, uStructSize)
Gets the current engine's pre-processing options.
Handle to the OCR document. This handle is obtained by calling the L_Doc2StartUp function.
Pointer to DOC2PREPROCESSINGOPTIONS structure to be updated with the engine's current pre-processing options.
Size in bytes, of the DOC2PREPROCESSINGOPTIONS structure, use sizeof(DOC2PREPROCESSINGOPTIONS) to retrieve the structure size.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
To update the engine's pre-processing options, call the L_Doc2SetPreProcessingOptions / L_Doc2SetPreProcessingOptionsExt function.
Required DLLs and Libraries