Leadtools.Forms.DocumentReaders Namespace > DocumentReader Class : RasterCodecsInstance Property |
public RasterCodecs RasterCodecsInstance {get;}
'Declaration Public ReadOnly Property RasterCodecsInstance As RasterCodecs
'Usage Dim instance As DocumentReader Dim value As RasterCodecs value = instance.RasterCodecsInstance
public RasterCodecs RasterCodecsInstance {get;}
get_RasterCodecsInstance();
public: property RasterCodecs^ RasterCodecsInstance { RasterCodecs^ get(); }
If you pass a valid instance of Leadtools.Codecs.RasterCodecs in the DocumentReaderLoadOptions.RasterCodecsInstance property of the object passed to the options parameter to DocumentReader.Create, then the same object be saved internally and used by the document reader and accessed here. In this mode, you must ensure that the original Leadtools.Codecs.RasterCodecs must be alive for the whole lifespan of this DocumentReader.
If the value of DocumentReaderLoadOptions.RasterCodecsInstance is null, then a new instance of Leadtools.Codecs.RasterCodecs will be created during DocumentReader.Create and assigned to this property. When the DocumentReader object is disposed, this Leadtools.Codecs.RasterCodecs instance is disposed as well. You can access this created Leadtools.Codecs.RasterCodecs object through this property as well.
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