itextsharp html to pdf
问题 I want to change some HTML in a pdf. All my html is in HTML string but I don't know how to pass it in correctly within iTextSharp . public void PDF() { // Create a doc object var doc = new doc(PageSize.A4, 50, 50, 25, 25); // Create a new PdfWrite object, writing the output to the file ~/PDFTemplate/SimpleFormFieldDemo.pdf var output = new FileStream(Server.MapPath("t.pdf"), FileMode.Create); var writer = PdfWriter.GetInstance(doc, output); // Open the doc for writing doc.Open(); //Add