![](/img/trans.png)
[英]How do I take a bitmap image and save as a JPEG image file on a Windows Phone 7 device?
[英]How to save xaml page content into a jpeg image in windows phone?
我有一個xaml頁面,其中有一個滾動查看器。 頁面內容的高度超過了正常屏幕的高度,因此要查看內容,您必須向下滾動。 我需要將滾動查看器中的內容保存為jpeg圖像。 我該怎么做?
<grid height=800>
<scroll viewer height= 2000>
<other contents>
</scrollviewer>
</grid>
在這里,我需要將內容保存在滾動查看器中? 我知道如何保存屏幕截圖,但是在滾動查看器中無法解決。 請幫忙。
我建議您使用ScrollToVerticalOffset方法滾動並分部分截屏。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.