←Select platform

RasterImageTypeConverter Constructor(RasterCodecs)

Summary

Initializes a new instance of the RasterImageTypeConverter class with a given RasterCodecs object.

Syntax

C#
VB
C++
Public Function New( _ 
   ByVal codecs As Leadtools.Codecs.RasterCodecs _ 
) 
public: 
RasterImageTypeConverter(  
   Leadtools.Codecs.RasterCodecs^ codecs 
) 

Parameters

codecs
The RasterCodecs object.

Remarks

The image returned from the ConvertFrom method will have itsRasterImage.IsLoading property set to true since this method will load the image asynchronously. To get notified when the image has finished loading, create the RasterImageTypeConverter with your own RasterCodecs instance and subscribe to the RasterCodecs.LoadAsyncCompleted event before calling ConvertFrom as show in the example of RasterImageTypeConverter.

Example

For an example, refer to RasterImageTypeConverter.

Requirements

Target Platforms

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

Leadtools.Codecs Assembly