Method clipboardData.AddImage
Overload
Adds image. Uses clipboard format ClipFormats.Png and/or ClipFormats.Image (CF_BITMAP).
public clipboardData AddImage(Image image, bool? png = null)
Parameters
image (Image)
Image. Must be System.Drawing.Bitmap, else exception. |
png (bool?)
Use PNG format (it supports transparency):
|
Returns
clipboardData
this. |