Jump to content
Sign in to follow this  
orestes72

WPF Screenshots

Recommended Posts

orestes72

Hello, I am trying to log screenshots of an application that is written in WPF. When I take a screenshot, I only see the main application, any popup windows within the app are hidden. Here is the code segment where I take the cap. I'm assuming I'm doing something wrong , but maybe there is a problem with WPF.

$screenShot = _ScreenCapture_Capture("", 0, 0, 2559, 1023)
    _ScreenCapture_SaveImage("./Logs/JPG/" & $fName, $screenShot)

Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×