LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

RasterCodecsInstance Property (IOcrDocument)

Show in webframe







Gets the instance of the Leadtools.Codecs.RasterCodecs object being used inside this IOcrDocument.
Syntax
RasterCodecs RasterCodecsInstance {get;}
'Declaration
 
ReadOnly Property RasterCodecsInstance As RasterCodecs
'Usage
 
Dim instance As IOcrDocument
Dim value As RasterCodecs
 
value = instance.RasterCodecsInstance
RasterCodecs RasterCodecsInstance {get;}
@property (nonatomic, strong, readonly) LTRasterCodecs* rasterCodecsInstance;
public RasterCodecs getRasterCodecsInstance()
get_RasterCodecsInstance(); 
property RasterCodecs^ RasterCodecsInstance {
   RasterCodecs^ get();
}

Property Value

The Leadtools.Codecs.RasterCodecs object being used inside this IOcrDocument.
Remarks

The Leadtools.Codecs.RasterCodecs object will be disposed of by the document automatically when System.IDisposable.Dispose is called.

When new IOcrDocument objects are created using the IOcrDocumentManager.CreateDocument, a new object of type Leadtools.Codecs.RasterCodecs is created by this IOcrEngine, and assigned to IOcrDocument.RasterCodecsInstance. All image load and save operation (such as IOcrPageCollection.AddPage, IOcrPageCollection.AddPages, IOcrPageCollection.InsertPage, IOcrPageCollection.InsertPages, IOcrPageCollection.ExportPage and IOcrPageCollection.ExportPages) 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.Codecs.RasterCodecs to the document Leadtools.Codecs.RasterCodecs 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

See Also

Reference

IOcrDocument Interface
IOcrDocument Members
OcrEngineManager Class
OcrEngineType Enumeration
UseEngineInstanceOptions Property
DocumentWriterInstance Property
IOcrEngine.RasterCodecsInstance
IOcrEngine.DocumentWriterInstance
Programming with the LEADTOOLS .NET OCR

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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