clipboard

Ivanoff Alex

New member
Joined
Sep 3, 2003
Messages
3
Image bitmap = pictureBox1.Image;
DataObject data = new DataObject(DataFormats.Dib, bitmap);
Clipboard.SetDataObject(data);

this code make in clipboard image.
but I need include in WordXP (ClipBoard (24 items));
In this code not inserting in it.:(
 
We need more details about what you are doing. Do you want to put a metafile in the clipboard?
Or do you want to want to put many items in the clipboard at once?
 
I think the Office clipboard does not link to the Windows Clipboard, only the most recent Copy/Cut will be stored there. You can see this in Visual Studio .Net as well, the Clipboard Ring can hold large numbers of cut items but only the most recent one can be pasted in other apps.
You can get data from the clipboard and store in a Metafile if its applicable instead of a Bitmap
 
Is your question regarding how to convert a Bitmap into a Metafile? Or just how to put many items in the clipboard?

I dont think you can put more than one item in the clipboard. AndreRyan has confirmed that.
 
Back
Top