Gets or sets a value indicating whether this IOcrDocument must copy the RasterCodecs and DocumentWriter options from the IOcrEngine before using them.
public bool UseEngineInstanceOptions { get; set; }
Property UseEngineInstanceOptions As Boolean
@property (nonatomic, assign) BOOL useEngineInstanceOptions
public boolean getUseEngineInstanceOptions()
public void setUseEngineInstanceOptions(boolean value)
true if this IOcrDocument must copy the RasterCodecs and DocumentWriter options from the IOcrEngine before using them; otherwise, false. Default value is true.
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 RasterCodecs and 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 DocumentWriterInstance.
The options are copied before any of the following methods is called:
For more information, refer to OCR Engine and RasterCodecs/DocumentWriter Usage.
DocumentWriterInstance Property
IOcrEngine.RasterCodecsInstance
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document