Hi,
How can I Tilt or rotate and mirror an image ?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Selva GanapathyPosted Mar 18, 2014, 12:20 AM
You can rotate an image in picture box to a clockwise direction using the following code as I post in one of my forum.
public Form1()
{
InitializeComponent();
this.pictureBox1.Image = Image.FromFile("../../sundararamoorthy.png");
}
private void button1_Click(object sender, EventArgs e)
{
var img = this.pictureBox1.Image;
img.RotateFlip (RotateFlipType.Rotate90FlipNone);
this.pictureBox1.Image = img;
}
http://www.c-sharpcorner.com/Forums/Thread/248404/how-rotate-pictures-clockwise-using-picturebox-in-winfor.aspx
Regards,
Selva Ganapathy K
nathaJegamoorty PillaiPosted Mar 18, 2014, 12:43 AM
Thanks...