L_OcrPage_GetAutoPreprocessValues

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

Parameters

L_OcrPage page

Handle to the OCR page.

L_OcrPageAutoPreprocessValues* 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

Value Meaning
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

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help