i want to add dynamic Images to html table ,here code sample
StringBuilder sb = new StringBuilder();
sb.Append("");
");
| ID | Name |
| 1 | "+(name)+" |
| 2 | " + (rank) + " |
| 3 | " + (rank) + " |
StringReader sr = new StringReader(sb.ToString());
string path = "C:\\Users\\Archit\\Desktop\\test.pdf";
StringWriter sw = new StringWriter();
var output = new FileStream(path, FileMode.Create);
iTextSharp.text.Document pdfDoc = new iTextSharp.text.Document(PageSize.A4, 10F, 10F, 10F, 0F);
HTMLWorker htmlparser = new HTMLWorker(pdfDoc);
iTextSharp.text.pdf.PdfWriter.GetInstance(pdfDoc, output);
pdfDoc.Open();
htmlparser.Parse(sr);
pdfDoc.Close();
here i set name etc.but i want to set image too.

Replies
Know the answer? Post it — somebody with the same question will find it here.