←Select platform

RasterImageTypeConverter Constructor(RasterCodecs)

Summary
Initializes a new instance of the RasterImageTypeConverter class with a given RasterCodecs object.
Syntax
C#
C++/CLI
Python
public: 
RasterImageTypeConverter(  
   RasterCodecs^ codecs 
) 
__init__(self,codecs) # Overloaded constructor 

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.

Requirements

Target Platforms

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

Leadtools.Codecs Assembly

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