locked
Rotate the font RRS feed

  • Question

  • User-1169942342 posted

    Dear all,

    i want to rotate the font, may i know how to may it to 90' ?

     Private g As Graphics
    
            Dim width As Integer = 50
            Dim height As Integer = 60
             g.DrawString(p(i), New Font("Verdana", 12, FontStyle.Bold), Brushes.Black, xInterval * i + 50 + (width / 3), 500 - height - 25)


     

    Thursday, February 10, 2011 2:47 AM

All replies

  • User1799966442 posted

    Hi

     

    use g.TranslateTransform and g.RotateTransform to draw text in any angle

     

    Livius

    Sunday, May 8, 2011 12:15 PM