Copies the current image to clipboard in DIB format.
Boolean ObjectName. CopyToClipboard()
None.
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.
CopyToClipboard() makes a copy of the image to the clipboard. If the application does not need the image in Dynamic (Web) TWAIN any more, use CutToClipboard(), which can save memory, especially when the image is large.
The copied image is in DIB format.
VB Sample:
|