Table of Contents

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 IClipboard
image 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 IClipboard
bitmap 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 IClipboard
surface ISurface<ColorBgra>

SetImage(IClipboard, IBitmapSource)

public static void SetImage(this IClipboard clipboard, IBitmapSource bitmapSource)

Parameters

clipboard IClipboard
bitmapSource IBitmapSource