Rotate Picture Box


/ Published in: C#
Save to your folder(s)



Copy this code and paste it in your HTML
  1. private void rotateRightToolStripButton_Click(object sender, EventArgs e)
  2. {
  3. ocrSourcePictureBox.Image.RotateFlip(RotateFlipType.Rotate90FlipNone);
  4. ocrSourcePictureBox.Refresh();
  5. }
  6.  
  7. private void rotateLeftToolStripButton_Click(object sender, EventArgs e)
  8. {
  9. ocrSourcePictureBox.Image.RotateFlip(RotateFlipType.Rotate270FlipNone);
  10. ocrSourcePictureBox.Refresh();
  11. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.