I want to add an image of a certain DataGrid
in silverlight to a word Document.
I've created a WriteableBitmap
of the DataGrid
but I开发者_如何转开发 can't find how to copy this image to the word document.
It doesn't have to be a WriteableImage
. Any solution that works is fine with me.
Thanks.
Not possible as of Silverlight 5.
In Silverlight 5, access to clipboard information is limited to Unicode text access. This differs from the WPF implementation of Clipboard, which enables access to other specific types (for example, streams or images) or to data objects.
See MSDN.
精彩评论