Hi,
I'm trying to convert HTML file in PDF in SharePoint 2007 context, using this snippet of code:
......................................
System.Threading.ThreadStart threadStart = HTMLToPDF;
System.Threading.Thread thread = new System.Threading.Thread(threadStart);
thread.SetApartmentState(System.Threading.ApartmentState.STA);
thread.Start();
.......................................
private static void HTMLToPDF()
{
Spire.Pdf.PdfDocument doc = new Spire.Pdf.PdfDocument();
doc.LoadFromHTML("http://www.google.it", false, true, true);
........................................
}
During LoadFromHTML execution I obtain an error like "It is timeout to load html". I attach the resulting converted PDF file, it seems navigation error. How I can solve this problem?
Thanks for support