Selecting a region in a picturebox

A

Andrew Bullock

Hi,

I want to crop a picture in a picturebox by allowing the user to select
a rectangular region like you get in software like Photoshop.

Is there any prefabricated solution to creating such a selection window,
or will I have to code it myself?


Thanks

Andrew
 
N

Nicholas Paldino [.NET/C# MVP]

Andrew,

There is nothing out of the box that will do this. Rather, you should
create a control which will do this for you, and handle the mouse button
down, mouse button up, etc, etc events, drawing your rectangle in the
process.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top