Selecting a region in a picturebox

  • Thread starter Thread starter Andrew Bullock
  • Start date Start date
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
 
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

Back
Top