doc.LoadFromHTML(FilePath, false, false, true);
using (var docStream = new MemoryStream())
{
doc.SaveToStream(docStream);
MergePdfPages(document, pdfGenerator, docStream);
}
I grabbed the latest code from the website today and I am trying to convert the HTML to PDF. The only big difference in my situation is the HTML is an actual .HTML file instead of a URL. This method times out when I attempt to do this conversion. Is there a different mechanic for converting HTML to PDF when the HTML is a local file?
*Edit sorry, the doc.LoadFromHTML is the method that times out. (doc is a new Spire.Pdf.PdfDocument())
Corey Miller