开发者

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜