Microsoft Gold Certified Partner
 

HTML to PDF easily

I’ve been working on enhancements to our eCommerce framework and needed to produce a PDF version of an invoice. I already had the invoice as an HTML page, so the task was to convert this to PDF.

A company called WebSuperGoo had the solution and it couldn’t be simpler:

WebSupergoo.ABCpdf7.Doc invoiceDoc = new Doc();
invoiceDoc.AddImageUrl(URL);
invoiceDoc.Save(Server.MapPath(“invoice.pdf”));

 

Tags:

Comments are closed.