Silverlight-进行“屏幕截图"从Silverlight本身内部? [英] Silverlight - Taking a "screenshot" from within silverlight itself?

查看:60
本文介绍了Silverlight-进行“屏幕截图"从Silverlight本身内部?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这有点模糊,因为尚未设计控件,我想我会在使用它之前问一下.

This is kind of vague as the control has not been designed yet and I thought I would ask before going with it.

我将有一个显示Silverlight中对象的控件.

I will have a control that shows an object within Silverlight.

用户可以旋转对象等.

现在,用户需要能够将看到的内容复制到图像.这可能会以某种方式出现,还是我必须将其渲染到其他地方?

Now, the user needs to be able to copy what they see to an image. Is this possible somehow, or do I have to render it somewhere else?

因此,它本身不是屏幕截图,而是屏幕上特定控件/区域的可打印图像.

So it's not a screenshot per se, but a printable image of a specific control / area of the screen.

推荐答案

在Silverlight 3中,有一种方法可以将XAML写入WriteableBitmap.技术显示在上面的博客中.

In Silverlight 3 there is way to write XAML to WriteableBitmap. Technique is shown in above blog.

这篇关于Silverlight-进行“屏幕截图"从Silverlight本身内部?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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