Cancels the current loading, processing or saving operation on an image buffer.
Visual Basic |
---|
Public Sub Cancel( _ ByVal lImageID As Long _ ) |
- lImageID
- The image buffer being processed which you want to cancel.
This method cancels the loading or decompression of any image that is loaded by invoking the Filename property and the Load methods (except LoadRaw). This method also cancels the saving or compression of any image saved by the SaveFile method. If a load, decompression, save or compression process is canceled, an error message appears.