Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Controls Assembly > Leadtools.Controls Namespace > ImageViewer Class : RasterCodecsInstance Property |
public virtual RasterCodecs RasterCodecsInstance {get; set;}
'Declaration
Public Overridable Property RasterCodecsInstance As RasterCodecs
The viewer supports loading raster images and SVG documents automatically through a variety of methods. These methods require a RasterCodecs instance to use for getting information on the images, loading as well as setting the various extra options. When any of these methods are called, the viewer will the instance stored in RasterCodecsInstance to perform the load.
The viewer creates an instance and sets it in RasterCodecsInstance upon initilization. You can change the options of this instance directly using RasterCodecsInstance or you can replace it with a completely new object. The viewer will not dispose the instance if it was set by the user when the viewer itself is disposed.
The following members use RasterCodecsInstance:
ImageViewerItem.Url is set
ImageViewer.ImageUrl is set