2

Possible Duplicate:
.NET Equivalent of Snipping Tool

I'm making a screenshotting application. Currently, that application can take a screenshot of the full page but I want to be able to capture the region of a screen (You can select a region on the screen, like Gyazo does it).

Couldn't find any code that I could use.

Community
  • 1
  • 1
Prash
  • 1,915
  • 3
  • 20
  • 32
  • 3
    You could capture the full screen and then present the user with a windows that displays the full picture and then provide cropping functionality inside _your_ window. – Uwe Keim Dec 26 '11 at 16:11

2 Answers2

1

I think this is exactly what you need, this is a turorial from Abhishek sur about how to make screen captures wheather in Windows Forms or WPF applications with the possibility of prcising the region of the screen http://www.abhisheksur.com/2010/04/screen-capture-using-wpf-winforms.html

0

Here is another site that explains how to capture the X,Y coordinates as well as some other useful functions you may want to implement in your existing application http://ifdefined.com/blog/post/Screen-capture-utility-in-C-NET.aspx

MethodMan
  • 18,625
  • 6
  • 34
  • 52