Hello,
Does anybody know how to word wrap text in a picturebox?
Printable View
Hello,
Does anybody know how to word wrap text in a picturebox?
Compare the Picture1.TextWidth(strMyText) with the width of the PictureBox. When the former is greater, find the last space, truncate the text following the space and place it on the next line.
Chek out this post.
You will need to change the printer object to a picture box.
You will also have to remove the new page calls.
Word Wrap In Picture Box