L_OcrDocumentManager_SetFormatOptions (original) (raw)
Summary
Gets the current options for the specified document format.
Syntax
#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrDocumentManager_SetFormatOptions(documentManager, format, formatOptions)
Parameters
L_OcrDocumentManager documentManager
Handle to the OCR engine document manager.
DOCWRTFORMAT format
Format to get its options.
const DOCWRTOPTIONS* formatOptions
Pointer to the updated options of the specified document format to set back into engine.
Returns
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Comments
Sets the updated document format options back into document manager.
You can get the document format options by calling L_OcrDocumentManager_GetFormatOptions.
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.
See Also
Functions
- L_OcrDocumentManager_CreateDocument
- L_OcrDocumentManager_AppendDocumentFiles
- L_OcrDocumentManager_AppendDocuments
- L_OcrDocumentManager_GetFontName
- L_OcrDocumentManager_SetFontName
Topics
- Programming with LEADTOOLS OCR Module - LEAD Engine
- Starting and Shutting Down the OCR Engine
- Recognizing OCR Pages
Example
For an example, refer to L_OcrEngine_GetDocumentManager