It's not easy to do You should parse clipboard data with ClipboardHelpertake a look at this question
ClipboardHelper