Rotated Label

  • Thread starter Thread starter jr
  • Start date Start date
J

jr

Hi,

I need a rotated label sometimes 90° sometimes 45°
who can help

Jan
 
jr said:
I need a rotated label sometimes 90° sometimes 45°

\\\
Private Sub Form1_Paint( _
ByVal sender As Object, _
ByVal e As PaintEventArgs _
) Handles MyBase.Paint
With e.Graphics
.TranslateTransform(...)
.RotateTransform(90)
.DrawString("Hello World!", Me.Font, Brushes.Blue, 0, 0)
End With
End Sub
///
 
thanxs
Herfried K. Wagner said:
\\\
Private Sub Form1_Paint( _
ByVal sender As Object, _
ByVal e As PaintEventArgs _
) Handles MyBase.Paint
With e.Graphics
.TranslateTransform(...)
.RotateTransform(90)
.DrawString("Hello World!", Me.Font, Brushes.Blue, 0, 0)
End With
End Sub
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top