?
Solved

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

Posted on 2010-04-09
5
Medium Priority
?
2,013 Views
Last Modified: 2013-11-12
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!
0
Comment
Question by:bish wakim
  • 3
5 Comments
 
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 30204448
You have Silverlight listed as a Zone...is this an XBAP or just a regular WPF app?
0
 

Author Comment

by:bish wakim
ID: 30205177
This is a regular WPF
0
 
LVL 16

Accepted Solution

by:
CuteBug earned 1500 total points
ID: 30206875
0
 

Author Comment

by:bish wakim
ID: 30247564
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!
0
 

Author Closing Comment

by:bish wakim
ID: 32151121
thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question