Hi,
Use a string format
Private Sub Label1_Paint(By Val sender As Object, ByVal e As
System.Windows. Forms.PaintEven tArgs) Handles Label1.Paint
Dim sf As New StringFormat
sf.Alignment = StringAlignment .Center
sf.LineAlignmen t = StringAlignment .Center
Label1.Text = ""
e.Graphics.Tran slateTransform( Label1.ClientSi ze.Width,
Label1.ClientSi ze.Height)
e.Graphics.Rota teTransform(180 )
e.Graphics.Draw String("upside down string", Label1.Font,
Brushes.Black, RectangleF.op_I mplicit(Label1. ClientRectangle ), sf)
End Sub
Ken
------------------------
"jcrouse" <an*******@disc ussions.microso ft.com> wrote in message
news:F5******** *************** ***********@mic rosoft.com...
Ken,
Worked AWESOME, as you know. I am also trying to "middle.cen ter" the
text in the box. I've tried about ten different ways. What code do I need
to add and where does it need to go?
Thanks for your help,
John