IAsyncTaskState Class
Summary: Provides access to the state of the asynchronous task.
Module: aspose.psd.asynctask
Full Name: aspose.psd.asynctask.IAsyncTaskState
Aspose.PSD Version: 24.9.0
Properties
Name | Type | Access | Description |
---|---|---|---|
is_canceled | bool | r | Gets a value indicating whether the asynchronous task is canceled. |
progress | AsyncTaskProgress | r | Gets the progress of the asynchronous task. |
Methods
Name | Description |
---|---|
set_progress(progress_percentage) | Sets the progress of the asynchronous task. |
Method: set_progress(progress_percentage)
set_progress(progress_percentage)
Sets the progress of the asynchronous task.
Parameters:
Parameter | Type | Description |
---|---|---|
progress_percentage | int | The progress percentage. |