"Mr Tired" <ti***********@gmail.com> schrieb:
So should I replace the tabstops with spaces?
\\\
Const TabstopWidth As Integer = 22
Dim Line As String = ...
Dim CurrentX As Integer
For Each Column As String In Split(Line, ControlChars.Tab)
e.Graphics.DrawString(Column, Me.Font, Brushes.Black, CurrentX, 100)
CurrentX += TabstopWidth
Next Column
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>