Jump to content

WPF Screenshots


Recommended Posts

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!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...