rotate image RRS feed

  • Question

  • User-881450349 posted

    I'm using vwd express 2008. Is there a way to rotate am image an arbitrary amount? (not just 90,180,270)




    Friday, October 24, 2008 5:20 PM

All replies

  • User-2102218418 posted

     this post may help you



    Friday, October 24, 2008 10:33 PM
  • User-881450349 posted

    I have looked at the post. They give vb code to do it, but It wont work with visual web developer because of the line:


    Dim gr_out As Graphics = Graphics.FromImage(m_DestBm)


    Graphics doesnt seem to be a recognized type of declartion?  Is this because its not part of .net 3.5 framework? Perhaps I am totally lost here...


    Any help is appreciated!



    Saturday, October 25, 2008 1:45 AM
  • User-2102218418 posted

    Please add the required namespace for the Graphics content to be recognised at the top of your .vb paeg

    Imports System.Drawing

    Imports System.Drawing.Imaging

    You can search for namespaces in msdn (for others too )

    Monday, October 27, 2008 10:58 AM