
























1
Image myImage = new Bitmap(300, 200);
2
Graphics g = Graphics.FromImage(myImage);
3
g.CopyFromScreen(new Point(Cursor.Position.X - 150, Cursor.Position.Y - 25), new Point(0, 0), new Size(300, 200));
4
IntPtr dc1 = g.GetHdc();
5
g.ReleaseHdc(dc1);
6
this.pictureBox1.Image = myImage;
7
myImage.Save("c:\\1.jpeg");
8
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。