How can i take a full screen screenshot, that takes from the top left hand corner, down to the bottom right corner (underneath the taskbar). I have found heaps of samplecodes, but they all just take a shot of the current open window. please help
Dim bounds As Rectangle = Screen.GetBounds(Point.Empty)
Using bitmap As New Bitmap(bounds.Width, bounds.Height)
Using g As Graphics = Graphics.FromImage(bitmap)
g.CopyFromScreen(Point.Empty, Point.Empty, bounds.Size)
End Using
bitmap.Save("screen.png", ImageFormat.Png)
End Using
Dim bounds As Rectangle = Screen.GetBounds(Point.Empty)
Using bitmap As New Bitmap(bounds.Width, bounds.Height)
Using g As Graphics = Graphics.FromImage(bitmap)
g.CopyFromScreen(Point.Empty, Point.Empty, bounds.Size)
End Using
bitmap.Save("C:\myimage.gif", ImageFormat.Gif)
End Using