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