Hi!
SteBruBra wrote:
I have a HTML-Formated text coming from a database.
So parse that HTML and draw the text using regular and bold fonts at the appropriate positions.
Use XGraphics.MeasureString to determine the lengths of the words to as you'll have to deal with linebreaks.
MigraDoc might help making things much easier. Use the RenderObject method of DocumentRenderer if you want to try this. Create a Paragraph and add the text using the AddFormattedText method of Paragraph.
You still have parse the HTML.