boomster Posted May 2, 2004 Posted May 2, 2004 Hi, how do i save an image object to the clipboard as a jpeg or any other type? cheers, Boomster :) Quote
*Experts* mutant Posted May 2, 2004 *Experts* Posted May 2, 2004 Use the System::Windows::Forms::Clipboard class which contains static method to put and retrieve items to/from the clipboard. System::Windows::Forms::Clipoard::SetDataObject(yourbitmapobject, true) The second argument specifies if the object will remain in the clipbaord after the application exits. Quote
boomster Posted May 3, 2004 Author Posted May 3, 2004 Use the System::Windows::Forms::Clipboard class which contains static method to put and retrieve items to/from the clipboard. System::Windows::Forms::Clipoard::SetDataObject(yourbitmapobject, true) The second argument specifies if the object will remain in the clipbaord after the application exits. thanks for the reply, the above code is what i used, however i have an Image object not a Bitmap how do i specify that the Image is or should be treated as a bmp or jpeg etc... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.