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

UseEngineInstanceOptions Property






Gets or sets a value indicating whether this IOcrDocument must copy the Leadtools.Codecs.RasterCodecs and Leadtools.Forms.DocumentWriters.DocumentWriter options from the IOcrEngine before using them. .NET support WinRT support
Syntax
bool UseEngineInstanceOptions {get; set;}
'Declaration
 
Property UseEngineInstanceOptions As Boolean
'Usage
 
Dim instance As IOcrDocument
Dim value As Boolean
 
instance.UseEngineInstanceOptions = value
 
value = instance.UseEngineInstanceOptions
bool UseEngineInstanceOptions {get; set;}
get_UseEngineInstanceOptions();
set_UseEngineInstanceOptions(value);
property bool UseEngineInstanceOptions {
   bool get();
   void set (    bool value);
}

Property Value

true if this IOcrDocument must copy the Leadtools.Codecs.RasterCodecs and Leadtools.Forms.DocumentWriters.DocumentWriter options from the IOcrEngine before using them; otherwise, false. Default value is true.
Remarks

When the value of this property is true, then this IOcrDocument will copy the options from IOcrEngine.RasterCodecsInstance and IOcrEngine.DocumentWriterInstance to IOcrDocument.RasterCodecsInstance and IOcrDocument.DocumentWriterInstance before using them.

This makes it easy to change Leadtools.Codecs.RasterCodecs and and Leadtools.Forms.DocumentWriters.DocumentWriter options globally for all current and future IOcrDocument's.

If you have a requirement to use different options per IOcrDocument in the same IOcrEngine, for example, you have an IOcrDocument object that will save to PDF with Image/Text option and another to save to PDF/A. Then you can set UseEngineInstanceOptions of each document to false, then change the PDF options through DocumentWriterInstance instead of IOcrEngine.DocumentWriterInstance.

The options are copied before any of the following methods is called:

For more information, refer to OCR Engine and RasterCodecs/DocumentWriter Usage.

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
OcrEngineManager Class
OcrEngineType Enumeration
RasterCodecsInstance Property
DocumentWriterInstance 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.

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