Home

SpeakComputers.com | Text-to-Speech Software

Natural sounding TTS voice support | Cepstral TTS voices | Text to MP3 | Natural Readers

Text to Speech Software Text to Speech Voices SpeakComputer Text to Speech Software

Rotating Images with C#

You can rotate and flip images for controls that support the image property and or the image background property.

The table below displays the supported rotation and flip type formats.

Member name Description
Rotate180FlipNone Specifies a 180-degree rotation without flipping.
Rotate180FlipX Specifies a 180-degree rotation followed by a horizontal flip.
Rotate180FlipXY Specifies a 180-degree rotation followed by a horizontal and vertical flip.
Rotate180FlipY Specifies a 180-degree rotation followed by a vertical flip.
Rotate270FlipNone Specifies a 270-degree rotation without flipping.
Rotate270FlipX Specifies a 270-degree rotation followed by a horizontal flip.
Rotate270FlipXY Specifies a 270-degree rotation followed by a horizontal and vertical flip.
Rotate270FlipY Specifies a 270-degree rotation followed by a vertical flip.
Rotate90FlipNone Specifies a 90-degree rotation without flipping.
Rotate90FlipX Specifies a 90-degree rotation followed by a horizontal flip.
Rotate90FlipXY Specifies a 90-degree rotation followed by a horizontal and vertical flip.
Rotate90FlipY Specifies a 90-degree rotation followed by a vertical flip.
RotateNoneFlipNone Specifies no rotation and no flipping.
RotateNoneFlipX Specifies no rotation followed by a horizontal flip.
RotateNoneFlipXY Specifies no rotation followed by a horizontal and vertical flip.
RotateNoneFlipY Specifies no rotation followed by a vertical flip.


To rotate an image associated with a Windows Forms Picture Box do the following.

this.pictureBox1.Image.RotateFlip(RotateFlipType.Rotate90FlipNone);
this.pictureBox1.Refresh();

To rotate an image associated with a Windows Forms Button controls do the following.

this.button1.Image.RotateFlip(RotateFlipType.Rotate90FlipNone);
this.button1.Refresh();

To rotate a background image associated the a Windows Forms Panel control do the following.

this.panel1.BackgroundImage.RotateFlip(RotateFlipType.Rotate90FlipNone);
this.panel1.Refresh();

Top of page
Text to Speech Speech synthesis Software TTS Software
Copy Right 2006 SpeakComputers.com - All Rights Reserved.
About Privacy Policy TTS Resouces
Free Text to Speech software
Free Text to Speech Software