←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 RasterCodecs _ 
) 
public: 
RasterImageTypeConverter(  
   RasterCodecs^ codecs 
) 

Parameters

codecs
The RasterCodecs object.

Remarks

NOTE: This topic is part of RasterCodecs Async support using the .NET System.ComponentMode.AsyncOperation model. For .NET async/await support this type/member is not used. Instead, refer to RasterCodecs Async Operations.

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 shown in the example of RasterImageTypeConverter.

Example

For an example, refer to RasterImageTypeConverter.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.