File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Copy image to clipboard

 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,

Does Javascript provide some built-in support for copying an image embedded in an HTML page to the clipboard ?

I know IE's window.clipboardData.setData() function but it only allows to copy text and URLs... Is there some other trick for images ?

Thanks in advance
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not think it is possible, I could not find anything on it and I tried and got errors!

Eric
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, that's a pity! I'm just wondering why Microsoft implemented the Text and URL data transfers for the setClipboardData function and the Text, URL and Image data transfers only for the clear function.
Thanks anyway
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic