LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

RasterImageTypeConverter Constructor(RasterCodecs)






The RasterCodecs object.
Initializes a new instance of the RasterImageTypeConverter class with a given RasterCodecs object. .NET support Silverlight support
Syntax
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
)

Parameters

codecs
The RasterCodecs object.
Remarks

The image returned from the ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) method will have its RasterImage.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(ITypeDescriptorContext,CultureInfo,Object) as show in the example of RasterImageTypeConverter.

Example
For an example, refer to RasterImageTypeConverter.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImageTypeConverter Class
RasterImageTypeConverter Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.