prashantsvl
Member
- Joined
- Jul 24, 2008
- Messages
- 10
- Programming Experience
- Beginner
dear
used the following code at paint event..
u will geting som ideas.....
this code print the text on form..
but write now i facing difficulty the out put text not in sequece
ex: abcdefg the resultant text..
abc def g
why there is space ? and how i can maintain the allingment..of text
used the following code at paint event..
u will geting som ideas.....
VB.NET:
Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint
For cc As Integer = 0 To 50
[COLOR="Red"]e.Graphics.DrawString(Strings.Left("chinmay is a good boy. His telephone number is 98231xxxxxx. He is very handsome and smart.", (cc * 1.8)), Me.Font, Brushes.Red, 0, cc * 15)
[/COLOR]Next
End Sub
this code print the text on form..
but write now i facing difficulty the out put text not in sequece
ex: abcdefg the resultant text..
abc def g
why there is space ? and how i can maintain the allingment..of text