←Select platform

RasterCodecsInstance Property

Summary

Gets or sets the Leadtools.Codecs.RasterCodecs object to use when rendering or creating thumbnails of the document pages.

Syntax

C#
VB
C++
public RasterCodecs RasterCodecsInstance { get; set; } 
  
Public Property RasterCodecsInstance As Leadtools.Codecs.RasterCodecs 
public: 
property Leadtools.Codecs.RasterCodecs^ RasterCodecsInstance { 
   Leadtools.Codecs.RasterCodecs^ get(); 
   void set (    Leadtools.Codecs.RasterCodecs^ ); 
} 

Property Value

A Leadtools.Codecs.RasterCodecs instance that indicates the object to use when rendering or creating thumbnails of the document pages. The default value is null.

Remarks

You can pass your own instance of a Leadtools.Codecs.RasterCodecs to DocumentReader.Create through this method. The DocumentReader object will then set this same Leadtools.Codecs.RasterCodecs into its DocumentReader.RasterCodecsInstance property and use it when rendering or creating thumbnails of the document pages. If you pass a valid object, then you must make sure the instance stays alive for the entire lifespan of the DocumentReader object.

If you leave this value to the default of null, then the DocumentReader will create its own default Leadtools.Codecs.RasterCodecs object and set it in the DocumentReader.RasterCodecsInstance property.

You can use your own instance to control the load options or subscribe to the various events of Leadtools.Codecs.RasterCodecs.

Example

For an example, refer to DocumentReaderLoadOptions.

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

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

Leadtools.Forms.DocumentReaders Assembly