"Danie" <(E-Mail Removed)> scripsit:
> I need to use drawstring, but it always draws one line, and I need to divide
> it. to give it a specified width which it doesnt cross, but starts another
> line. is it possible?
\\\
Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
e.Graphics.DrawString("Hello World Hello World Hello World", Me.Font, Brushes.Red, New RectangleF(0, 0, 40, 200))
End Sub
///
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
|