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.
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.
Try this code
If using the .NET 2.0 (or later) framework you can use the
CopyFromScreen()
method detailed here:http://www.geekpedia.com/tutorial181_Capturing-screenshots-using-Csharp.html