top of page
  • Create PDF from HTML page with one line of C# code. Full support of complex layout, CSS, images/svg, custom fonts, javascript code

  • Precise rendering: in 99% cases PDF result is identical to the web browser view: based on WkHtmlToPdf tool that uses WebKit browser engine.

  • Simplest way to generate PDF from .NET applications (ASP.NET, ASP.NET MVC, WebForms, .NET Core, VB.NET):

  • create PDF from HTML string, file or URL

  • convert ASPX to PDF, MVC view to PDF

  • merge several HTML pages (files, URLs) into one resulting PDF

  • PDF options:

  • page orientation, custom page size, page margins

  • HTML template for page header/footer, page numbering, cover page

  • automatic table of contents generation by headings (H1/H2/H3)

  • Simple and easy to use HTML-to-PDF .NET converter: all you need is one assemblyPDFSolution.dll (without embedded WkHtmlToPdf binaries) may be used with custom wkhtmltopdf builds in Mono/.NET Core projects.

  • PdfGenerator C# examples package:

  • DataSetReport: generates PDF with data table from DataSet using XSLT

  • DemoMvc: generate PDF from ASP.NET MVC views. Illustrates: page breaks, multi-page tables, cover page and table-of-contents, custom header/footer with page numbering

  • DemoWebForms: generate PDF from textarea (online demo)

  • EncryptPdf: how to generate secured (password protected) PDF

  • MergePdf: produce several PDFs and merge whem into one file with iTextSharp

  • PdfFromFiles: generate one PDF from several HTML documents (files, URLs)

  • WatermarkPdf: how to generate PDF and watermark it with background image or text (watermarked PDF example)

  • BatchMode: optimized generation of several PDF documents in the batch mode

  • WordToPdf: convert word to PDF (OpenXmlPowerTools is used for converting word docx file to HTML)

Buy with PayPal

   PDF Solution

 Convert HTML to PDF in C#

Copyright © 2017 NWrap® Software. All Rights Reserved.

bottom of page