L_Doc2GetRecognitionResultOptions

#include "ltdoc2.h"

L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2GetRecognitionResultOptions(hDoc, pResOpts, uStructSize)

Gets the current used options for saving recognition results to a file.

Parameters

L_HDOC2 hDoc

Handle to the OCR document.

pRESULTOPTIONS2 pResOpts

Pointer to a RESULTOPTIONS2 structure to be updated.

L_UINT uStructSize

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

Returns

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

Comments

To update the options for saving the recognition results, call the L_Doc2SetRecognitionResultOptions / L_Doc2SetRecognitionResultOptionsExt function.

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

Required DLLs and Libraries

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

LEADTOOLS OCR Module - OmniPage Engine C API Help