PDF .NET Library  .NET PDF Component Library. PDF creator, PDF maker.
Home Products Code Library Online Demos Support 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