标签:code bsp bounds copy blog phi idt logs aging
Rectangle bounds = Screen.GetBounds(Screen.GetBounds(Point.Empty)); using (Bitmap bitmap = new Bitmap(bounds.Width, bounds.Height)) { using (Graphics g = Graphics.FromImage(bitmap)) { g.CopyFromScreen(Point.Empty, Point.Empty, bounds.Size); } bitmap.Save(@"c:\Capture.jpg", System.Drawing.Imaging.ImageFormat.Jpeg); }
标签:code bsp bounds copy blog phi idt logs aging
原文地址:http://www.cnblogs.com/weloglog888/p/6901444.html