public
static
void
MultipleScreenCapture(
string
filename)
{
var
ss =
new
Bitmap(SystemInformation.VirtualScreen.Width,
SystemInformation.VirtualScreen.Height,
PixelFormat.Format32bppArgb);
Graphics.FromImage(ss).CopyFromScreen(SystemInformation.VirtualScreen.X,
SystemInformation.VirtualScreen.Y,
0,
0,
SystemInformation.VirtualScreen.Size,
CopyPixelOperation.SourceCopy);
ss.Save(filename, ImageFormat.Png);
}
Hiç yorum yok:
Yorum Gönder