StringReader sr = new StringReader(sw.ToString()); Document pdfDoc = new Document(PageSize.A4, 20f, 20f, 20f, 20f); HTMLWorker htmlparser = new HTMLWorker(pdfDoc); PdfWriter.GetInstance(pdfDoc, Response.OutputStream); pdfDoc.Open(); ----> htmlparser.Parse(sr); <------- ERROR pdfDoc.Close(); Response.Write(pdfDoc); Response.End();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)