hi all,
i need to read coordinate from a .txt file to draw lines , here is the example of the file
1E20, 1E20, 1
154.0872,3703.414,1955
178.458,3719.069,1955
239.8909,3753.263,1955
1E20, 1E20, 2
2480.712,105.5662,1950
2486.905,144.5641,1950
2512.991,215.5622,1950
lines 1 to 4 is line 1 coordinate
lines 5 to 8 is line 2 coordinate
separated by comma : X,Y,line info
what i'm asking is how to read each variable, and then use from each variable (X,Y)to draw a lines using
Dim pen As New Pen(Color.FromArgb(255, 0, 0, 0))
e.Graphics.DrawLine(pen, X1, Y1, X2, Y2)
thanks for your attention, sorry for bad english^^