On May 13, 2:30 pm, "Michel Vanderbeke" <michel.vanderb ...@skynet.be>
wrote:
Hello,
>
Is it possible to turn the text of a label 90° to the left or the right?
>
Greetings,
>
Michel
I don't believe the label supports this, but you could simulate this
with a picturebox (or just draw it straight onto the form):
Private Sub Form1_Load(ByVa l sender As System.Object, ByVal e As
System.EventArg s) Handles MyBase.Load
Dim bmp As New Bitmap(20, 20)
Dim g As Graphics = Graphics.FromIm age(bmp)
g.DrawString("M y Text", Me.Font, Brushes.Black, 0, 0)
' bmp.RotateFlip( RotateFlipType. Rotate90FlipNon e) ' Right
bmp.RotateFlip( RotateFlipType. Rotate270FlipNo ne) ' Left
Dim pb As New PictureBox()
pb.Image = bmp
Me.Controls.Add (pb)
End Sub
Comment