![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
截屏
搬砖码农SmallNNN
一只热爱编程的菜鸟。
展开
-
C# winform 截屏代码
try { Image image = new Bitmap(width, height); Graphics g = Graphics.FromImage(image); g.CopyFromScreen(x, y, 0, 0, new System.Drawing.Size(width, height)); string hour = Dat原创 2015-04-02 17:45:06 · 1228 阅读 · 2 评论 -
C#实现定时全屏截图并且保存到预先设定好的文件夹中的代码示例
自定义一个截图函数, public static void Snap(int x, int y, int width, int height) { try { //这段代码也可以实现截图 //Image image = new Bitmap(width, height); //Graphics g = Graphics.FromI原创 2015-04-12 15:39:10 · 3154 阅读 · 2 评论