由网友(傾城如夢未必闌珊)分享简介:我想捕捉的画面在我的code得到的图像 - 就像使用键盘上的Print Screen键I want to capture the screen in my code to get an image - like using the 'print screen' button on the keyboard .有没有...
我想捕捉的画面在我的code得到的图像 - 就像使用键盘上的Print Screen键
I want to capture the screen in my code to get an image - like using the 'print screen' button on the keyboard .
有没有人有一个想法如何做到这一点?我没有起点。
Does anyone have an idea how to do this? I have no starting point.
推荐答案
如果使用.NET 2.0(或更高版本)的框架,你可以使用的 CopyFromScreen()
方法在这里详细介绍:
If using the .NET 2.0 (or later) framework you can use the CopyFromScreen()
method detailed here:
https://p.xsw88.cn/allimgs/daicuo/20230902/339.png", ImageFormat.Png);
相关推荐
最新文章