Method SetImage
- Namespace
- PaintDotNet.Clipboard
- Assembly
- PaintDotNet.Core.dll
SetImage(IClipboard, Image)
Takes the image and puts it onto the clipboard in a few standard formats. The clipboard is first emptied.
public static void SetImage(this IClipboard clipboard, Image image)
Parameters
clipboard
IClipboardimage
Image
SetImage(IClipboard, Bitmap)
Takes the image and puts it onto the clipboard in a few standard formats. The clipboard is first emptied.
public static void SetImage(this IClipboard clipboard, Bitmap bitmap)
Parameters
clipboard
IClipboardbitmap
Bitmap
SetImage(IClipboard, ISurface<ColorBgra>)
Takes the image and puts it onto the clipboard in a few standard formats. The clipboard is first emptied.
public static void SetImage(this IClipboard clipboard, ISurface<ColorBgra> surface)
Parameters
clipboard
IClipboardsurface
ISurface<ColorBgra>
SetImage(IClipboard, IBitmapSource)
public static void SetImage(this IClipboard clipboard, IBitmapSource bitmapSource)
Parameters
clipboard
IClipboardbitmapSource
IBitmapSource