Home Search Contact us About us
Title Copy Image to Clipboard
Summary Here we will place and Image type object into the clipboard for sharing with other application that can receive images from the clipboard.
Contributor John McTainsh
Published 4-Jan-2004
Last updated 4-Jan-2004
Page rating   100% for 3 votes Useless Brilliant


Once we have an image in a System.Drawing.Image type object we can put it into the clipboard with the following code. Once in the clipboard it could be pasted into application that take images from the clipboard such as MS Paint or MS Word.

// Image defined somwhere else
Image img = SomeClass.GetViewImage( this );
// Copy the image to the clipboard
Clipboard.SetDataObject( img );

To aquire an image from the screen see Screen Capture

Comments Date
Home Search Contact us About us