L_LTDOC2_API L_INT L_Doc2GetRecognitionResultOptionsExt(hDoc, nDocId, pResOpts, uStructSize)
Gets the options currently being used to save recognition results to a file.
Handle to the OCR document.
Document ID created by calling L_Doc2CreateDocument.
Pointer to a RESULTOPTIONS2 structure to be updated.
Size in bytes, of the structure pointed to by pResOpts. Use sizeof(RESULTOPTIONS2) to calculate this value.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Required DLLs and Libraries
For an example, refer to L_Doc2SaveResultsToFileExt.