【问题标题】:How to save xaml page content into a jpeg image in windows phone?如何将 xaml 页面内容保存到 windows phone 中的 jpeg 图像中?
【发布时间】:2012-05-19 04:57:28
【问题描述】:

我有一个 xaml 页面,我有一个滚动查看器。页面内容的高度超过了正常的屏幕高度,因此要查看内容,您必须向下滚动。 我需要将滚动查看器中的内容保存到 jpeg 图像中。我该怎么做?

<grid height=800>
<scroll viewer height= 2000>
<other contents>
</scrollviewer>
</grid>

这里我需要将内容保存在滚动查看器中吗?我知道如何保存屏幕截图,但在滚动查看器的情况下不会奏效。 请帮忙。

【问题讨论】:

    标签: c# .net windows-phone-7 xaml windows-phone-7.1


    【解决方案1】:

    我建议你使用ScrollToVerticalOffset方法滚动并部分截图。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-01-26
    • 1970-01-01
    • 2016-10-16
    相关资源
    最近更新 更多