Leadtools.Forms.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
DocumentManager Property
See Also 
Leadtools.Forms.Ocr Namespace > IOcrEngine Interface : DocumentManager Property



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

Syntax

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

Return 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. You can use the IOcrDocumentManager.GetSupportedFormats method to query the document formats supported by this engine instance. For more information, refer to IOcrDocumentManager, IOcrDocument and 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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