Reputation: 65
Now I'm playing with the RichTextBox in Silverlight. I'm trying to copy some content from other application like Office Word. However all I can get is the pain TEXT without any format. Is possible to copy the content from word or PDF file with the format like font-size, font-color?
Thanks!
Upvotes: 0
Views: 679
Reputation: 5269
Unfortunately, in Silverlight 4, there's a limitation on the data you can get from the clipboard.
You are allowed to get the plain text from the clipboard but not the raw data itself (ex: images, rich text formated text, etc).
Until a new version of Silverlight allow you to get the raw data from the clipboard, I'm afraid it won't be possible, even with a third party RichTextBox.
Upvotes: 4