* "Nak" <a@a.com> scripsit:
Check out the Graphics and Drawing namespaces. You can do anything you
want with a picturebox!
PictureBox1.CreateGraphics.DrawString("Nuts", PictureBox1.Font, New
SolidBrush(PictureBox1.ForeColor), 0, 0)
Notice that it's better to dispose the 'SolidBrush' to clean up
unmanaged resources quickly, and to dispose the 'Graphics' object
created by 'CreateGraphics':
\\\
Dim g As Graphics = PictureBox1.CreateGraphics(...)
Dim sb As New SolidBrush(...)
g.DrawString(..., sb, ...)
sb.Dispose()
g.Dispose()
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>