Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
Leadtools.Codecs Namespace > RasterImageTypeConverter Class > RasterImageTypeConverter Constructor : RasterImageTypeConverter Constructor(RasterCodecs) |
public RasterImageTypeConverter( RasterCodecs codecs )
'Declaration
Public Function New( _ ByVal codecs As RasterCodecs _ )
'Usage
Dim codecs As RasterCodecs Dim instance As New RasterImageTypeConverter(codecs)
public RasterImageTypeConverter( RasterCodecs codecs )
function RasterImageTypeConverter( codecs )
public: RasterImageTypeConverter( RasterCodecs^ codecs )
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.