I was wondering if anyone could help. I hav created a document with VB
,The user enters in a description into a textbox and when they click the button it prints out what they have typed on to the document. The only thing is sometimes the string is long so it goes off the page to the right and does not start at a new line (vbcrlf). Here is a piece of my code:
Dim strCode As String
strCode1 = txtCode1.Text
e.Graphics.DrawString(strCode1, fntInput, Brushes.Black, 40, 425)
Any help would be great thanks.
,The user enters in a description into a textbox and when they click the button it prints out what they have typed on to the document. The only thing is sometimes the string is long so it goes off the page to the right and does not start at a new line (vbcrlf). Here is a piece of my code:
Dim strCode As String
strCode1 = txtCode1.Text
e.Graphics.DrawString(strCode1, fntInput, Brushes.Black, 40, 425)
Any help would be great thanks.