I am using iText for .NET for converting HTML to PDF.
I\'m using HtmlParser to convert an HTML page to PDF, but the problem is that Htmlparser only seems to convert the
StreamReader tempReader = new StreamReader(tempFile);
ArrayList p = HTMLWorker.ParseToList(tempReader,st);
for (int k = 0; k < p.Count; k++)
{
documento.Add((IElement)p[k]);
}
tempReader.Dispose();
documento.Close();
and works fine too. but i put the dispose at the end