Generate Pdf from URL
A few days ago I needed to write a class to generate pdf file from a given url and then save it to server. It was easy for me cause www.pdfmyurl.com does all the dirty stuff
System.IO.Stream stream = System.Net.WebRequest.Create(string.Format(“http://pdfmyurl.com?url={0}”, “www.google.com”)).GetResponse().GetResponseStream();
Then you need to write this steam to server.
Advertisement