Removes the image of a specified index in buffer.
| ActiveX Edition | Plug-in Edition | Mac Edition |
|---|---|---|
| Since V4.0 | Since V4.0 | Since V6.4 |
Boolean ObjectName.RemoveImage(Short sImageIndexToBeDeleted)
Short sImageIndexToBeDeleted: specifies the index of the image to be deleted in buffer. The index is 0-based.
Boolean.
TRUE indicates success. FALSE indicates failure.
When an error occurs and IfThrowException property is TRUE, an exception will be thrown.
When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.
None.
RemoveAllSelectedImages() RemoveAllImages() CurrentImageIndexInBuffer property, HowManyImagesInBuffer property, MaxImagesInBuffer property
The following sample shows how to remove the current image from buffer:.
VB Sample:Private Sub RemoveCurrentImage()
Twain.RemoveImage(Twain.CurrentImageIndexInBuffer)
End Sub
TWAIN ActiveX | TWAIN Plug-in | TWAIN Control | TWAIN SDK | Scanner COM
Software Configuration Management | Version Control | Source Control
Copyright © 2012 Dynamsoft Corporation. All Rights Reserved.