LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Info Property
See Also 
Leadtools.Codecs Namespace > CodecsGetInformationAsyncCompletedEventArgs Class : Info Property



Gets the CodecsImageInfo class instance that contains the information about the image file.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Info As CodecsImageInfo
Visual Basic (Usage)Copy Code
Dim instance As CodecsGetInformationAsyncCompletedEventArgs
Dim value As CodecsImageInfo
 
value = instance.Info
C# 
public CodecsImageInfo Info {get;}
C++/CLI 
public:
property CodecsImageInfo^ Info {
   CodecsImageInfo^ get();
}

Property Value

A CodecsImageInfo object that contains the information about the image file, or a null reference (Nothing in Visual Basic) if an error occured.

Example

Remarks

This property contains the information about the image file. This instance is the same object returned from the RasterCodecs.GetInformationAsync method. While the asynchronous operation is running, the value of the CodecsImageInfo.IsLoading will be true indicating that the object is being populated with the information and should not be used. Whe the asynchronous operation compelets, the RasterCodecs.GetInformationAsyncCompleted event will fire and Info will contain the final and ready to use object. If an error occurs, this property will be set to null and the object is disposed internally by the toolkit.

When an error occur, either the Error property is not a null reference or the Cancelled property is true.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also