public static SetImage ( Image image ) : void | ||
image | Image | |
return | void |
protected override void EndProcessing() { ExecuteWrite(delegate { switch (ParameterSetName) { case ParamSetFiles: if (_paths.Count == 0) { WinFormsClipboard.Clear(); } else { WinFormsClipboard.SetFileDropList(_paths); } break; case ParamSetImage: if (_image == null) { WinFormsClipboard.Clear(); } else { WinFormsClipboard.SetImage(_image); } break; case ParamSetRtf: SetTextContents(_rtf, TextDataFormat.Rtf); break; case ParamSetHtml: SetTextContents(_html, TextDataFormat.Html); break; default: SetTextContents(_text, TextDataFormat.UnicodeText); break; } }); }
public static void SetImage(Image image) { ClipboardProxy.SetImage(image); }