views:

67

answers:

0

Hello, I need to render some rich text to a pdf. The difficulty is, i need the text on the pdf to look exactly like the text in the WPF RichTextBox. The pdf renderer i'm using renders according to html, so converting from richtext to html sometimes causes lines to wrap/break at different points. Is there any way to get the text from the richtextbox line for line? for instance, i could render whatever is in line 1, then line 2, etc. any help would be greatly appreciated. Thanks in advance, -Ryan