#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrPage_GetAutoPreprocessValues(page, value)
Gets the accumulative values of any inversion, rotation or deskew applied to this page by the preprocessor.
Handle to the OCR page.
Address to L_OcrPageAutoPreprocessValues structure to be updated with the accumulative values of any inversion, rotation or deskew applied to this page by the preprocessor.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Use this method to obtain the values applied by L_OcrPage_AutoPreprocess on this page. This method is useful when replacing the image to be used when saving a document using L_OcrPage_SetOverlayBitmap.
Required DLLs and Libraries
For an example, refer to L_OcrPage_SetOverlayBitmap