Hello, I am new to C#. What i am trying to do is this: I am taking a screenshot of my desktop (which i have done and stored in a file). Now all I need is to be able to define the parts of the image which I wish to extract from the larger picture. So for example, I have a screenshot. I would like to click my mouse in the top left corner of the part of the screen shot and then the bottom right. After this i just need to store that in a file... Can anyone help me????

Thanks in advance.

Recommended Answers

All 2 Replies

just my thought:
1. catch mouse event of the screenshot
2. now you know your mouse start,end point,you can use image draw method create a new image, and save to a file.

Work around GDI+ it helps in such issues!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.