#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrPage_GetAutoPreprocessValues(page, value)
L_OcrPage page; | handle to the OCR page |
L_OcrPageAutoPreprocessValues* value; | address to L_OcrPageAutoPreprocessValues structure to be updated |
Gets the accumulative values of any inversion, rotation or deskew applied to this page by the preprocessor.
Parameter | Description |
---|---|
page | Handle to the OCR page. |
value | 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. |
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
LTOCR For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
For an example, refer to L_OcrPage_SetOverlayBitmap.