L_OcrPage_GetAutoPreprocessValues

#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.

Returns

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

Comments

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.
Help Version 20.0.2018.2.22
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS OCR Module - LEAD Engine C API Help