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

FileName Property (CodecsAsyncCompletedEventArgs)






Gets the file name this asynchronous operation is using. .NET support Silverlight support
Syntax
public string FileName {get;}
'Declaration
 
Public ReadOnly Property FileName As String
'Usage
 
Dim instance As CodecsAsyncCompletedEventArgs
Dim value As String
 
value = instance.FileName
public string FileName {get;}
 get_FileName(); 
public:
property String^ FileName {
   String^ get();
}

Property Value

The file name this asynchronous operation is using.
Remarks

Only one of the following can be a valid value (not a null reference) at any time: Uri, Stream or FileName. The property that contains a valid reference depends on what version of RasterCodecs.GetInformationAsync or RasterCodecs.LoadAsync method has been called.

For example, if RasterCodecs.LoadAsync(Uri uri, object userState) is being called, the Uri will contain the same URI passed to the method while Stream and FileName will both be null. If RasterCodecs.LoadAsync(String fileName, object userState) is being called, the FileName will contain the same file name string value passed to the method while Uri and Stream will both be null and so on.

Example
For an example, refer to RasterCodecs.GetInformationAsyncCompleted and 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

CodecsAsyncCompletedEventArgs Class
CodecsAsyncCompletedEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices

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