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

DocumentWriterInstance Property (IOcrDocument)






Gets the instance of the Leadtools.Forms.DocumentWriters.DocumentWriter object being used inside this IOcrDocument. .NET support WinRT support
Syntax
DocumentWriter DocumentWriterInstance {get;}
'Declaration
 
ReadOnly Property DocumentWriterInstance As DocumentWriter
'Usage
 
Dim instance As IOcrDocument
Dim value As DocumentWriter
 
value = instance.DocumentWriterInstance
DocumentWriter DocumentWriterInstance {get;}
get_DocumentWriterInstance(); 
property DocumentWriter^ DocumentWriterInstance {
   DocumentWriter^ get();
}

Property Value

The Leadtools.Forms.DocumentWriters.DocumentWriter object being used inside this IOcrDocument.
Remarks

The Leadtools.Forms.DocumentWriters.DocumentWriter object will be disposed of by the engine automatically when System.IDisposable.Dispose is called.

When new IOcrDocument objects are created using the IOcrDocumentManager.CreateDocument, a new object of type Leadtools.Forms.DocumentWriters.DocumentWriter is created by this IOcrEngine, and assigned to IOcrDocument.DocumentWriterInstance. All document creation operation (such as IOcrDocument.Save) that is performed inside by OCR document or objects inside the OCR document will use that object.

If the value of IOcrDocument.UseEngineInstanceOptions is true, then the options will be copied from the engine's Leadtools.Forms.DocumentWriters.DocumentWriter to the document Leadtools.Forms.DocumentWriters.DocumentWriter before any methods is called.

For more information on how this object is used by the OCR engine during its lifetime, refer to OCR Engine and RasterCodecs/DocumentWriter Usage.

Example
For an example, UseEngineInstanceOptions.
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

IOcrDocument Interface
IOcrDocument Members
UseEngineInstanceOptions Property
RasterCodecsInstance Property
IOcrEngine.RasterCodecsInstance
IOcrEngine.DocumentWriterInstance
Programming with the LEADTOOLS .NET OCR

 

 


Products | Support | Contact Us | Copyright Notices

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

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