The best way to create PDFs with iTextSharp is programmatically because we have more options for drawing it.
But there is an option with some limitations that is to assemble an HTML according to the specifications to have a correct PDF file.
public void HTMLToPDF(string html, string fullDestinyFilePath) { StringWriter sw = new StringWriter(); sw.WriteLine(html); StringReader sr = new StringReader(sw.ToString()); Document pdfDoc = new Document(); HTMLWorker htmlparser = new HTMLWorker(pdfDoc); PdfWriter.GetInstance(pdfDoc, new FileStream(fullDestinyFilePath, FileMode.Create)); pdfDoc.Open(); htmlparser.Parse(sr); pdfDoc.Close(); }