L_OcrPage_GetAutoPreprocessValues

Summary

Gets the accumulative values of any inversion, rotation or deskew applied to this page by the preprocessor.

Syntax

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrPage_GetAutoPreprocessValues(page, value)

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

See Also

Functions

Topics

Example

For an example, refer to L_OcrPage_SetOverlayBitmap

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

LEADTOOLS OCR Module - LEAD Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.