function Leadtools.ImageProcessing.abort()
Use IsRunning to check if the image processing is currently running. You can safely call Abort when the image processing is not running, the call will be ignored and no error will occur.
For an example, refer to ImageProcessing.