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



The DocumentManager Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Allows you to create new OCR documents and to get information regarding the various document formats supported by this IOcrEngine.

Syntax

Visual Basic (Declaration) 
ReadOnly Property DocumentManager As IOcrDocumentManager
Visual Basic (Usage)Copy Code
Dim instance As IOcrEngine
Dim value As IOcrDocumentManager
 
value = instance.DocumentManager
C# 
IOcrDocumentManager DocumentManager {get;}
C++/CLI 
property IOcrDocumentManager^ DocumentManager {
   IOcrDocumentManager^ get();
}

Property Value

The instance of the IOcrDocumentManager object that allow you to create new OCR documents and to get information regarding the various document formats supported by this IOcrEngine.

Example

For an example, refer to IOcrDocumentManager.

Remarks

The DocumentManager allows you to do the following:

  • Create instances of IOcrDocument objects that objects encapsulate OCR'ed documents. Each IOcrDocument contains an IOcrDocument.Pages property that is an implementation of standard .NET collection of IOcrPage objects. Through this member you can add, remove or update image (raster) pages in the OCR document. These pages can be image files on disk, memory or even in a remote URL. Any file format supported by LEADTOOLS (TIFF, JPEG, BMP, etc) can be loaded into the OCR document. Once the image is loaded to the document, you can use the various IOcrPage methods to zone the page (or pages) in preparation to be recognized and saved as a document. For more information refer to IOcrDocument, IOcrPageCollection and IOcrPage. Once you are done with adding and preparing the pages, 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. For more information, refer to IOcrDocumentManager, IOcrDocument and Leadtools.Forms.DocumentWriters.DocumentFormat.
  • Query the document formats supported by this engine instance. The OCR engines support many of the popular document formats such as PDF, Microsoft Word and HTML as well as text. Use the DocumentManager object to query these formats.

For more information, refer to IOcrDocumentManager.

You must call the Startup method before you can use the DocumentManager.

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

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