Visual Basic (Declaration) | |
---|---|
Overridable ReadOnly Property RasterCodecsInstance As RasterCodecs |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
virtual RasterCodecs RasterCodecsInstance {get;} |
C++/CLI | |
---|---|
virtual property RasterCodecs RasterCodecsInstance { RasterCodecs get(); } |
Return Value
The RasterCodecs object being used inside this IOcrEngine.You can pass an instance of an already initialized RasterCodecs object to the Startup method. This RasterCodecs objects will then be used internal by the engine when loading image files from disk or memory. Otherwise, when passing null (Nothing in Visual Basic), the IOcrEngine will create and use its own version of RasterCodecs during the startup procedure.
The internal RasterCodecs object will be disposed of by the engine automatically when Shutdown or Dispose is called. If you passed your own instance of RasterCodecs, then the engine will not dispose it and you can continue to use it as normal after the engine instance has been disposed. When passing your own instance of RasterCodecs, make sure this instance stays valid as long as the engine is started.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family