Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
put multiple image files to the clipboard
#1
The following code can put a single image(A.png) to the clipboard,

but is it possible to put multiple images(A.png; B.png; C.png) at once?

I now understand that simulating manual operations is achievable:
1. Select three images: A.png, B.png, and C.png.
2. Press Ctrl+C.
3. Act elm.
4. Press Ctrl+V.
 
Code:
Copy      Help
var img = Image.FromFile(folders.Desktop+"A.png");
var dimg = new clipboardData().AddImage(img);

//act elm

clipboard.pasteData(dimg);


Messages In This Thread
put multiple image files to the clipboard - by Davider - 04-04-2024, 12:03 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)