Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
Leadtools.Codecs Namespace > RasterCodecs Class : IsAsyncBusy Property |
public bool IsAsyncBusy {get;}
'Declaration
Public ReadOnly Property IsAsyncBusy As Boolean
'Usage
Dim instance As RasterCodecs Dim value As Boolean value = instance.IsAsyncBusy
public bool IsAsyncBusy {get;}
public boolean isAsyncBusy(Object operation)
get_IsAsyncBusy();
The RasterCodecs object supports getting information and loading image files asynchronously through the use of the GetInformationAsync, LoadAsync and LoadSvgAsync methods.
You can call one asynchronous operation per RasterCodecs object at a time. To determine whether the RasterCodecs object is busy with a previous asynchronous operation, use IsAsyncBusy property. This is the equivalent of the WebClient.IsBusy property of AsyncWebClient.
You can also use the CancelAsync method to cancel any current asynchronous operation in this RasterCodecs object. This is the equivalent of calling WebClient.CancelAsync on AsyncWebClient.
Note:UseAsync, AsyncWebClient, IsAsyncBusy, and CancelAsync are only applicable when the GetInformationAsync, LoadAsync or LoadSvgAsync was with the versions that take a Uri parameter. The versions that take a String or a Stream does not use a WebClient object internally. If you want to check the progress or cancel the operation then use the LoadImage event as normal.