Here is the code snippet to rotate text:
Dim G As System.Drawing.Graphics = panel1.CreateGraphics()
Change the origin to the new point (100,100) of rotation (top left corner of the text to be rotated)
G.TranslateTransform(100, 100)
Perform rotation by 270 degrees
G.RotateTransform(270)
Write text (in string Title) using font TitleFont and brush TitleBrush at the new origin
G.DrawString(Title, TitleFont, TitleBrush, 0, 0)