Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property Image As RasterImage |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As CodecsLoadAsyncCompletedEventArgs Dim value As RasterImage value = instance.Image |
C# | |
---|---|
public RasterImage Image {get;} |
C++/CLI | |
---|---|
public: property RasterImage^ Image { RasterImage^ get(); } |
Property Value
A Leadtools.RasterImage object that is being loaded, or a null reference (Nothing in Visual Basic) if an error occured.This instance is the same object returned from the RasterCodecs.LoadAsync method. While the asynchronous operation is running, the value of the RasterImage.IsLoading will be true indicating that the object is being populated with the image data and should not be used. Whe the asynchronous operation compelets, the RasterCodecs.LoadAsyncCompleted event will fire and Image 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.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)