Link to home
Start Free TrialLog in
Avatar of bish wakim
bish wakim

asked on

How capturing a selected area from the screen with Wpf C#

I would like my Wpf c# application to be able to capture any rectanglar area on the screen as an image. the selection could be performed via a rectangle that the user can draw with the mouse.
The  capturing of this area should be done while my application is transparent so I can have a visual access to other windows...
Please help!
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

You have Silverlight listed as a Zone...is this an XBAP or just a regular WPF app?
Avatar of bish wakim
bish wakim

ASKER

This is a regular WPF
ASKER CERTIFIED SOLUTION
Avatar of CuteBug
CuteBug
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes. I could find a good code for copying an area from the screen into a bitmap . Still the second part of my question. How Can I within my wpf application go to any window (not necessary in my project) and
select a rectanglar area  and retrieve the the four coordinations of this area in order to copy the image
inside it.  
Thanks!
thanks