Gets the current options for the specified document format.
#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrDocumentManager_SetFormatOptions(documentManager, format, formatOptions)
Handle to the OCR engine document manager.
Format to get its options.
Pointer to the updated options of the specified document format to set back into engine.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Sets the updated document format options back into document manager.
You can get the document format options by calling L_OcrDocumentManager_GetFormatOptions.
For an example, refer to L_OcrEngine_GetDocumentManager