Regard's Raj.Trivedi "Sharing is Caring" Please mark as answer if your Query is resolved
/Create a pdf document. PdfDocument doc = new PdfDocument(); String url = "http://www.london2012.com/news/articles/paralympic-torch-relay-route-revealed-1258473.html"; Thread thread = new Thread(() => { doc.LoadFromHTML(url, false, true, true);}); thread.SetApartmentState(ApartmentState.STA); thread.Start(); thread.Join(); //Save pdf file. doc.SaveToFile("sample.pdf"); doc.Close(); //Launching the Pdf file. System.Diagnostics.Process.Start("sample.pdf");
Login to post response