Gets a value that determines whether this RasterImage object is still loading.
public bool IsLoading {get;}
Public ReadOnly Property IsLoading As Boolean
public bool IsLoading {get;}
public boolean isLoading()
get_IsLoading();
public:
property bool IsLoading {
bool get();
}
true if this RasterImage object is still loading; false, otherwise.
The RasterCodecs class supports loading image files asynchronously using the RasterCodecs.LoadAsync methods. When calling any of these methods, the caller thread will not be blocked and the method will return instantly with an instance RasterImage that is in a loading status (RasterImage.IsLoading set to true). You should not use the other properties of this object while the object is in loading status.
When the RasterCodecs object finishes loading the image, the various properties of the RasterImage will be populated with the image information and data and the RasterImage.IsLoading property will be set to false.
It is recommended that you do not poll for the RasterImage.IsLoading property to check when the image is finished loaded, instead, subscribe to the RasterCodecs.LoadAsyncCompleted event to get notification on when the LoadAsync operation is completed and if any errors occurred.
The RasterCodecs.LoadAsyncCompleted event data will also contain the same object returned from RasterCodecs.LoadAsync so you do not have to keep the original object in your application.
For an example, refer to RasterCodecs.GetInformationAsyncCompleted.
Products |
Support |
Feedback: IsLoading Property - Leadtools |
Introduction |
Help Version 19.0.2017.6.19
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.