Screen capture without main window

Go To StackoverFlow.com

0

I will like to take a screen capture without a window. I currently hide my main window take a screen shot of the desktop and then make my main window visible again. Will it be possible to achive the same functionality without having to hide my window?

If you are curios on why I am trying to achieve that functionality then look at this question that I am trying to solve.

2012-04-04 17:19
by Tono Nam
It's possible but you are digging yourself a deeper and deeper hole. Just type "wpf glass" in a google query and take the first hit - Hans Passant 2012-04-04 18:02


0

You can use the RenderTargetBitmap class to convert your Visual to a bitmap.

2012-04-04 17:41
by Philipp Schmid
How to get the Visual object containing screen without MainWindow. Please explain more - Mathew Sachin 2016-02-19 03:25


0

Tried something like Jing or SnagIt? SnagIt seems to be the most fully featured of the screen capture tools. So, if anything has this, it would be SnagIt.

2012-04-04 17:29
by kiroc
Yeah but I have to get the image with code... I need to do this with C - Tono Nam 2012-04-04 17:32
Ads