iTextSharp - HTML in a PDF document

Olimb used Ask the Experts™
Im using iTextSharp to make PDF documents and it works fine.
The only problem is that some text contains some HTML code. How can I get the text displayed as HTML

Here is how I use iTextSharp:
Dim oppgave_1_2 As New iTextSharp.text.Paragraph("" + session("PDF_question_1") + "", FontFactory.getFont("Arial", 14, Font.normal))

Open in new window

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Digital Marketing (Hospitality)
Hi Olimb,
You can try "HtmlParser" classes that available (iTextSharp.text.html) to resolve the HTML display problem.
Please refer following articles for more details:

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial