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.4.0

Properties

NameTypeAccessDescription
is_canceledboolrGets a value indicating whether the asynchronous task is canceled.
progressAsyncTaskProgressrGets the progress of the asynchronous task.

Methods

NameDescription
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:

ParameterTypeDescription
progress_percentageintThe progress percentage.