Click here to Skip to main content
Click here to Skip to main content

Tagged as

Rotate PictureBox Images in C#

, 23 Jan 2012 CPOL
Rate this:
Please Sign up or sign in to vote.
How to rotate images in a PictureBox.

You can rotate images in a PictureBox using the following code..

Rotate right:

Image img = pictureBox1.Image;
pictureBox1.Image = img;

Rotate left:

Image img = pictureBox1.Image;
pictureBox1.Image = img;


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Dhanushka Madushan lk
Software Developer
Sri Lanka Sri Lanka
No Biography provided

Comments and Discussions

QuestionRotate Image C++ Code PinmemberMember 43393754-Sep-14 6:32 
QuestionExactly what I needed PinmemberWakabajashij16-Dec-13 6:52 
GeneralMy vote of 2 PinmemberI Spawn At Home4-Mar-13 21:39 
GeneralMy vote of 2 PinmemberAbed AlSayed4-Sep-12 5:35 
GeneralReason for my vote of 5 Excellent - just what I needed to kn... PinmemberMember 19049705-Feb-12 9:59 
GeneralRe: Reason for my vote of 5Excellent - just what I needed to kn... PinmemberDhanushka Madushan lk12-Apr-12 17:58 
GeneralIm new to CodeProject...just put it to check.. PinmemberDhanushka Madushan Peiris24-Jan-12 3:46 
GeneralReason for my vote of 1 pitifully Pinmembermuellerh24-Jan-12 2:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150331.1 | Last Updated 23 Jan 2012
Article Copyright 2012 by Dhanushka Madushan lk
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid