clipboard class : GetImage() method
Description
Gets an image data from the clipboard.
Syntax
instance.GetImage()
Arguments
None.
Return value
Class | Description |
bitmap | An image data. |
Sample code
1: | clipboard clip; |
2: | bitmap bmp = clip.GetImage(); |
Notes
If the image data exists, it is returned as an instance of the bitmap. Otherwise, returns an uninitialized bitmap instance.
It is a wrapper of the System.Windows.Clipboard.GetImage().