L_Doc2GetPreProcessingOptionsExt

#include "ltdoc2.h"

L_LTDOC2_API L_INT L_Doc2GetPreProcessingOptionsExt(hDoc, nDocId, pOptions, uStructSize)

Gets the current engine's pre-processing options.

Parameters

L_HDOC2 hDoc

Handle to the OCR document. This handle is obtained by calling the L_Doc2StartUp function.

L_INT nDocId

Document ID created by calling L_Doc2CreateDocument.

pDOC2PREPROCESSINGOPTIONS pOptions

Pointer to a DOC2PREPROCESSINGOPTIONS structure to be updated with the engine's current pre-processing options.

L_UINT uStructSize

Size in bytes, of the DOC2PREPROCESSINGOPTIONS structure. Use sizeof(DOC2PREPROCESSINGOPTIONS) to retrieve the structure size.

Returns

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

Comments

To update the engine's pre-processing options, call the L_Doc2SetPreProcessingOptions / L_Doc2SetPreProcessingOptionsExt function.

Required DLLs and Libraries

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

LEADTOOLS OCR Module - OmniPage Engine C API Help