Reputation: 2842
I have a picture in a PictureBox. I want to rotate it by any angle.
And auto resize the PictureBox according to the rotated picture dimension.
Is there any sample code/project?
Upvotes: 1
Views: 7087
Reputation: 4209
You can rotate images inside of pictureboxes and I believe auto resizing is a property you can easily select on pictureboxes. A sample project that shows rotating images can be found here:
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=25764&lngWId=1
Upvotes: 1