Visual Basic
C#
Managed Extensions for C++
C++/CLI
This method makes a copy of the current image and places it on the clipboard. This leaves the hDIB property valid for operations such as the SaveFile(String) method, but leaves two copies of the image in memory which could be a problem if the image is very large.