IAsyncTaskState Class
Summary: Provides access to the state of the asynchronous task.
Module: aspose.imaging.asynctask
Full Name: aspose.imaging.asynctask.IAsyncTaskState
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| is_canceled | bool | r | Gets a value indicating whether the asynchronous task is canceled. |
| progress | EventType | r | Gets the progress of the asynchronous task. |
Methods
| Name | Description |
|---|---|
| increment_progress_max_value(value) | Increments the progress maximum value. |
| indicate_progress(event_type) | Sets the progress of the asynchronous task. |
Method: increment_progress_max_value(value)
increment_progress_max_value(value)
Increments the progress maximum value.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | The increase value. |
Method: indicate_progress(event_type)
indicate_progress(event_type)
Sets the progress of the asynchronous task.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| event_type | EventType | The progress state. |