Silverlight export canvas to image
I have Expression blend 4 and I want to create a button to开发者_JAVA技巧 export to an image file the current view in silverlight
Thanks!
You can render the Canvas to a WriteableBitmap and use this as the Source of an Image control:
var wb = new WriteableBitmap(myCanvas, null);
myImageControl.Source = wb;
精彩评论