Windows phone screenshot 截图 代码
2012-03-06 20:54
330 查看
看了Alexis的文章,/article/4705598.html,
关于windows phone屏幕截图的,
试了一下,屏幕翻转在landscape的状态下,截图貌似有问题,
于是google了一下,
发现如下代码:(http://blog.markarteaga.com/ScreenCaptureOnWindowsPhone7.aspx)
经尝试,可成功截图。
关于windows phone屏幕截图的,
试了一下,屏幕翻转在landscape的状态下,截图貌似有问题,
于是google了一下,
发现如下代码:(http://blog.markarteaga.com/ScreenCaptureOnWindowsPhone7.aspx)
private void btnCaptureScreen_Click(object sender, RoutedEventArgs e) { //Capture the screen and set it to the internal picture box WriteableBitmap bmp = new WriteableBitmap((int)this.ActualWidth, (int)this.ActualHeight); bmp.Render(this, null); bmp.Invalidate(); //this.image1.Source = bmp; //Set a new background //ImageBrush brush = new ImageBrush(); //brush.ImageSource = new BitmapImage(new Uri(NextImage,UriKind.Relative)); //ContentGrid.Background = brush; }
经尝试,可成功截图。
相关文章推荐
- google浏览器截图工具 Open Screenshot(代码截图)
- Windows Phone ListBox 水平滚动的代码
- python截图代码(Linux+Windows)
- 高仿Windows Phone QQ登录界面实例代码
- linux 区域截图 screenshot
- Qt 实现 QQ 截图工具(开源OEasyScreenshot)
- LongScreenshot代码流程概述
- 高效网页截图编辑插件(Web page screenshot editor)
- redmine screenshot paste(粘贴截图)
- JAVA屏幕截图与水印添加程序-HEHEHEScreenshot
- 网页全屏截图(Webpage Screenshot)
- 在windows phone Mango中使用原生代码开发程序
- 高效网页截图编辑插件(Web page screenshot editor)
- Ubuntu 截图工具gnome-screenshot
- 高仿Windows Phone QQ登录界面实例代码
- C#创建windows服务搭配定时器Timer使用实例(用代码做,截图版)
- 网页截图:注释&批注( Webpage Screenshot)
- Screenshot Captor绿色版-功能繁多的高级截图软件
- linux浏览器,邮件客户端,输入法,双屏设置,应用软件,gnome-screenshot/scrot -s截图,office
- 通过Windows(Phone) Runtime Component来分享你的代码