←Select platform

RasterCodecsInstance Property

Summary

Gets the instance of the RasterCodecs object being used inside this IOcrDocument.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public RasterCodecs RasterCodecsInstance { get; } 
ReadOnly Property RasterCodecsInstance As Leadtools.Codecs.RasterCodecs 
Leadtools.Codecs.RasterCodecs RasterCodecsInstance {get;} 
@property (nonatomic, strong, readonly) LTRasterCodecs *rasterCodecsInstance 
public RasterCodecs getRasterCodecsInstance() 
get_RasterCodecsInstance();  
property Leadtools.Codecs.RasterCodecs^ RasterCodecsInstance { 
   Leadtools.Codecs.RasterCodecs^ get(); 
} 

Property Value

The RasterCodecs object being used inside this IOcrDocument.

Remarks

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

When new IOcrDocument objects are created using the IOcrDocumentManager.CreateDocument, a new object of type 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 RasterCodecs to the document 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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Ocr Assembly