Hello All,
Im having a bit of trouble. I am using VB to create a pdf using data from a webspage. I have just added in a text box (multiline) so the user can type some comments and these are then copied to the pdf when a button is clicked. The problem I am having is how to create a carrige return (or new line) in the middle of the text as if I just copy whats there if its too long it just places it off the page.
This is what I have so far and it adds the textbox's text to the pdf but it goes off the page if the text is too long.
Code:
gfx.DrawString("Comments:" & " " & RWETcomments.Text, font, XBrushes.Black, New XRect(20, 555, 0, 0), XStringFormats.TopLeft)
Quite difficult to describe, hope it makes sense. Difficult to google as well.