PDF .NET Library Logo
Home Products Code Library Online Demos Support Forum Buy About Us  
Code Library

How to convert an existing HTML page to PDF document.

The following code generates a PDF file from a given URL.

c# sample:

PDFDocument MyDocument = new PDFDocument("HTMLSample.pdf");

MyDocument.ImportHTML("http://www.samplesite.com");

MyDocument.Save();

Back to PDF Code Library