L_Doc2GetPreProcessingOptions

#include "ltdoc2.h"

L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2GetPreProcessingOptions(hDoc, 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.

pDOC2PREPROCESSINGOPTIONS pOptions

Pointer to 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 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.