capturing the screen

  • Thread starter Thread starter rs
  • Start date Start date
R

rs

Hi guys,

How can I capture a window or the whole screen and save it as a picture?

Thanks

Ahmed
 
Mr MVP,

I downloaded that sample you listed & it doesn't save the image at all. It
captures the screen on program startup too, which means there is no need for
the button. If you press the button a few times then the captured (tiled)
images turn pinkish.
 
Crouchie1998 said:
I downloaded that sample you listed & it doesn't save the image at all. It
captures the screen on program startup too, which means there is no need
for
the button. If you press the button a few times then the captured (tiled)
images turn pinkish.

On my system nothing gets "pinkish". You can change the window to be
captured by assigning a window handle to the 'ScreenshotGenerator''s
'Window' property. The 'Bitmap' object returned by the 'Capture' method
provides a 'Save' method that can be used to make the screenshot persistent.
 
Back
Top