LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
IOcrDocumentManager Interface
See Also  Members  
Leadtools.Forms.Ocr Namespace : IOcrDocumentManager Interface



Manages the OCR documents of this IOcrEngine.

Syntax

Visual Basic (Declaration) 
Public Interface IOcrDocumentManager 
Visual Basic (Usage)Copy Code
Dim instance As IOcrDocumentManager
C# 
public interface IOcrDocumentManager 
C++/CLI 
public interface class IOcrDocumentManager 

Example

This example save a page to all the formats supported by the LEADTOOLS OCR Plus engine

Remarks

You can access the instance of the IOcrDocumentManager used by an IOcrEngine through the IOcrEngine.DocumentManager property.

The IOcrDocumentManager interface allows you to create IOcrDocument objects that encapsulate an OCR'ed document. Each OCR document contains a collection of IOcrPage that you can use to add and remove pages from the document. After you add the pages to the document and optionally manage the zones on the pages, you can call the IOcrPage.Recognize method on each page to obtain the recognition data and store them internally in the pages. Once you are done, you can use the save methods of the IOcrDocument object to save the document into its final format.

LEADTOOLS supports saving to various standard document formats such as PDF, Microsoft Word, HTML and several others through the LEADTOOLS Document Writers engine. For more information, refer to IOcrDocument and Leadtools.Forms.DocumentWriters.DocumentFormat.

Typical OCR operation using the IOcrEngine involves starting up the engine, create an IOcrDocument object using the IOcrDocumentManager.CreateDocument method and adding the pages into it and perform either automatic or manual zoning. Once this is done, After the recognition data is collected using IOcrPage.Recognize, you use the various IOcrDocument.Save methods to save the document to its final format such as PDF, DOC or HTML.

In addition to the above, you can use IOcrDocument.SaveXml to save the document as XML.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

IOcrDocumentManager requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features