By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,474 Members | 1,270 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,474 IT Pros & Developers. It's quick & easy.

how to draw tranparent rectangle on picture box?

P: 9
i am making application for image cropping.
where in this application i want to draw transparent rectangle on picture box.
eg> you must have uploaded photo on orkut , when u upload the photo if photo is too big croping windows comes up and tranparent rectangle with resizable appears on image.

similarly i want resizable rectangle on my picturebox where user can resize the rectangle and then user press crop button it crops off that much part.

my question
1) how to draw transparent rectangle on picturebox
2) how to resize it.

application is in vb.net
Mar 28 '10 #1
Share this Question
Share on Google+
3 Replies


Frinavale
Expert Mod 5K+
P: 9,731
Is this an ASP.NET application or a windows-desktop application?
Mar 29 '10 #2

P: 9
window based application in vb.net
Mar 29 '10 #3

Frinavale
Expert Mod 5K+
P: 9,731
You need to use the Graphics class to do the cropping (see the Graphics Methods for more details on the methods available to you for this task)

Once you have done your image manipulation save it into the database....
Apr 15 '10 #4

Post your reply

Sign in to post your reply or Sign up for a free account.