LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)
LEAD Technologies, Inc

CreateDocument Method






Creates a new OCR document object. .NET support WinRT support
Syntax
IOcrDocument CreateDocument()
'Declaration
 
Function CreateDocument() As IOcrDocument
'Usage
 
Dim instance As IOcrDocumentManager
Dim value As IOcrDocument
 
value = instance.CreateDocument()
IOcrDocument CreateDocument()
function Leadtools.Forms.Ocr.IOcrDocumentManager.CreateDocument()
IOcrDocument^ CreateDocument(); 

Return Value

An object implementing IOcrDocument that can participate in recognition and saving operations.
Remarks

Typical OCR operation using the IOcrEngine involves starting up and then creating an OCR document using the CreateDocument method then adding the pages into it and perform either automatic or manual zoning. Once this is done, IOcrPage.Recognize is called on each page to collect the recognition data and have it stored internally in the page. After the recognition data is collected, you use the various IOcrDocument.Save or IOcrDocument.SaveXml methods to save the document to its final format.

When you are done using the IOcrDocument object created by this method, you should dispose it as soon as possible to free its resources. Disposing an IOcrDocument object will free all the pages stored inside its IOcrDocument.Pages collection.

Example
For an example, refer to IOcrDocumentManager.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IOcrDocumentManager Interface
IOcrDocumentManager Members
IOcrPage.Recognize
IOcrDocument Interface
IOcrDocument.Save
IOcrDocument.SaveXml
IOcrEngine Interface
OcrEngineManager Class
OcrEngineType Enumeration
Programming with the LEADTOOLS .NET OCR

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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