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

CodecsLoadAsyncCompletedEventArgs Constructor






The Leadtools.RasterImage object instance being used.
The System.Uri this asynchronous operation is using.
The System.IO.Stream this asynchronous operation is using.
The file name this asynchronous operation is using.
Any error that occurred during the asynchronous operation.
A value indicating whether the asynchronous operation was canceled.
The optional user-supplied state object passed to the RasterCodecs.GetInformationAsync or RasterCodecs.LoadAsync method that initialized the construction of this object.
Creates new instance of the CodecsLoadAsyncCompletedEventArgs with the specified parameters. .NET support Silverlight support
Syntax
public CodecsLoadAsyncCompletedEventArgs( 
   RasterImage image,
   Uri uri,
   Stream stream,
   string fileName,
   Exception error,
   bool cancelled,
   object userState
)
'Declaration
 
Public Function New( _
   ByVal image As RasterImage, _
   ByVal uri As Uri, _
   ByVal stream As Stream, _
   ByVal fileName As String, _
   ByVal error As Exception, _
   ByVal cancelled As Boolean, _
   ByVal userState As Object _
)
'Usage
 
Dim image As RasterImage
Dim uri As Uri
Dim stream As Stream
Dim fileName As String
Dim error As Exception
Dim cancelled As Boolean
Dim userState As Object
 
Dim instance As New CodecsLoadAsyncCompletedEventArgs(image, uri, stream, fileName, error, cancelled, userState)
public CodecsLoadAsyncCompletedEventArgs( 
   RasterImage image,
   Uri uri,
   Stream stream,
   string fileName,
   HResult error,
   bool cancelled,
   object userState
)
function CodecsLoadAsyncCompletedEventArgs( 
   image ,
   uri ,
   stream ,
   fileName ,
   error ,
   cancelled ,
   userState 
)
public:
CodecsLoadAsyncCompletedEventArgs( 
   RasterImage^ image,
   Uri^ uri,
   Stream^ stream,
   String^ fileName,
   Exception^ error,
   bool cancelled,
   Object^ userState
)

Parameters

image
The Leadtools.RasterImage object instance being used.
uri
The System.Uri this asynchronous operation is using.
stream
The System.IO.Stream this asynchronous operation is using.
fileName
The file name this asynchronous operation is using.
error
Any error that occurred during the asynchronous operation.
cancelled
A value indicating whether the asynchronous operation was canceled.
userState
The optional user-supplied state object passed to the RasterCodecs.GetInformationAsync or RasterCodecs.LoadAsync method that initialized the construction of this object.
Example
For an example, refer to RasterCodecs.LoadAsyncCompleted.
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

CodecsLoadAsyncCompletedEventArgs Class
CodecsLoadAsyncCompletedEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices

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