L_Doc2GetOMROptions

#include "ltdoc2.h"

L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2GetOMROptions(hDoc, pOMROpts, uStructSize)

Gets the current OMR recognition options used by the OCR document engine.

Parameters

L_HDOC2 hDoc

Handle to the OCR document.

pOMROPTIONS2 pOMROpts

Pointer to OMROPTIONS2 structure to be updated.

L_UINT uStructSize

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

Returns

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

Comments

These options will be used only when the recognition module is DOC2_RECOGMODULE_OMR.

To update the OMR options, call the L_Doc2SetOMROptions / L_Doc2SetOMROptionsExt function.

To recognize a page, call the L_Doc2Recognize / L_Doc2RecognizeExt 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.