Method clipboardData.getImage
Overload
Gets image from the clipboard. Uses clipboard format ClipFormats.Png or ClipFormats.Image (CF_BITMAP).
public static Bitmap getImage(bool? png = null)
Parameters
|
png (bool?)
Use PNG format (it supports transparency):
|
Returns
|
Bitmap
|
Exceptions
|
AuException
Failed to open clipboard (after 10 s of wait/retry). |
|
Exception
Exceptions of System.Drawing.Image.FromHbitmap or System.Drawing.Image.FromStream. |