Rotate Image

Here is an example of rotating:
Code:
Dim b As New Bitmap("path to file")
b.RotateFlip(RotateFlipType.Rotate180FlipX) set the value you want here
You can do this to any image object, you dont have to necessairly create a new one.
 
To rotate by an arbitrary number of degrees (or radians) you have to draw the image on to a Graphics surface after using the Graphicss RotateTransform and TranslateTransform methods.
 
Back
Top