L_OcrDocumentManager_GetFormatOptions

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrDocumentManager_GetFormatOptions(L_OcrDocumentManager documentManager, format, formatOptions)

L_OcrDocumentManager documentManager; handle to the OCR engine document manager
DOCWRTFORMAT format; format to get its options
DOCWRTOPTIONS* formatOptions; address to variable of type DOCWRTOPTIONS structure to be updated with the format options

Gets the current options for the specified document format.

Parameter Description
documentManager Handle to the OCR engine document manager.
format Format to get its options.
formatOptions Address to variable of type DOCWRTOPTIONS structure to be updated with the format options.

Returns

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

Comments

Gets the current options for the specified document format.

You can change these options and set them back into document managed by calling L_OcrDocumentManager_SetFormatOptions.

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Advantage OCR C API Help