locked
Rotate bitmap image by 30 degrees RRS feed

  • Question

  • User294545519 posted

     Hi,

    I know you can do:

     bmp.RotateFlip(RotateFlipType.Rotate180FlipNone)

    but how can you do:

    bmp.RotateFlip(RotateFlipType.Rotate30FlipNone)
     

    Thanks,

    Curt.

    Monday, July 28, 2008 4:55 AM

All replies

  • User-744022866 posted

     use RotateTransform method of the graphics object.

     

    hope this helps

    Monday, July 28, 2008 6:03 AM
  • User294545519 posted

    Ive done the following but its not worked :S

    Dim BackgroundBmpG As Graphics = Graphics.FromImage(BackgroundBmp)
    BackgroundBmpG.RotateTransform(30)

    any ideas?

    Thanks,
    Curt

    Monday, July 28, 2008 6:27 AM