ScreenCapture.NET icon indicating copy to clipboard operation
ScreenCapture.NET copied to clipboard

screenshoting

Open mal1ceee opened this issue 2 years ago • 4 comments

hi there, i was wondering if there is any implementation of this that takes in the window handle and screenshot the provided window?

mal1ceee avatar Oct 20 '23 08:10 mal1ceee

No, all data is copied out of the front-buffer. It's not possible to capture specific windows. (Aside from capturing a region using the boundries of the window.)

DarthAffe avatar Oct 21 '23 01:10 DarthAffe

So theoretically I could screenshot a specific window given the boundaries?

mal1ceee avatar Oct 21 '23 04:10 mal1ceee

As long as it is in foreground yes. You'd basically take a image of your screen and cut that region out.

DarthAffe avatar Oct 21 '23 20:10 DarthAffe

ah thanks :)

mal1ceee avatar Oct 22 '23 13:10 mal1ceee