如何捕捉“截图”一个silverlight控件并将其保存到BitmapImage类? [英] how to capture a "screenshot" of a silverlight control and save it to BitmapImage class?

查看:121
本文介绍了如何捕捉“截图”一个silverlight控件并将其保存到BitmapImage类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我简化了我的问题:


如何在自定义背景缓冲区上渲染控件并在其他地方重复使用(例如,使用画笔填充  ;缓冲区变为矩形)?


谢谢!


 


原始问题:  


我的意思是,我想为silverlight创建一个3D引擎,在那里我可以将一些silverlight控件(如Canvas)附加到3D平面上。我想通过捕获控件的内容(或屏幕截图?)并将其保存到BitmapImage类(或其他合适的
)并将其作为平面材料重用来实现。这是可能的以及如何制作吗?

解决方案

看来我的问题太疯狂了......


I have simplified my question:

How to render a control on a custom background buffer and reuse it in other places (for example, use a brush to fill the buffer into a rectangle)?

thanks!

 

the original question: 

I mean, I want to create a 3D engine for silverlight, where I can attach some silverlight control (such as Canvas) to a 3D plane. I want to approach this by capture the content (or a screenshot?) of the control and save it to a BitmapImage class (or something else suitable) and reuse it as a material of the plane. Is this possible and how to make it?

解决方案

It seems that my question is so crazy...


这篇关于如何捕捉“截图”一个silverlight控件并将其保存到BitmapImage类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆