Mark as Answer if its helpful to you Kumaraspcode2009@gmail.com
appalanaidu
namespace htmltopdf { class Program { [STAThread] static void Main(string[] args) { //Create a pdf document. PdfDocument doc = new PdfDocument(); String url = "http://www.london2012.com/news/articles/paralympic-torch-relay-route-revealed-1258473.html"; doc.LoadFromHTML(url, false, true, true); //Save pdf file. doc.SaveToFile("sample.pdf"); doc.Close(); } } }
Login to post response