Convert HTML to PDF in ASP.NET
Code Examples C# VB.NET
The development of ASP.NET components that convert to HTML from Excel XLS Spreadsheet, Word DOC Document
Try high-quality ASP.NET component in order to convert XLS to HTML, ASP.NET component allows to convert DOC to HTML  
ASP.NET components convert to HTML
Components Downloads Purchase Help Contact Us  
 
 convert  PDF Duo .Net   Update!        Version 2.4
       May 18, 2016
 convert  Databeam Excel .Net        Version 2.1
       January 04, 2016
 convert  Databeam Word .Net   Update!        Version 2.1
       January 05, 2016
 
 
       PDF Duo .Net component
 
  »  Overview
  »  Download
  »  [Purchase]
 
 
       PDF Duo .Net component Guide
 
  »  Getting Started
  »  History
  »  Pricing
  »  Support and Contacts
  »  [Documentation]
 
 
       Code Examples
 
  »  Create PDF using HTML string
  »  Can't computer Image Path
  »  Create PDF from Database Table
 
 
       Membership
The association of development high-quality ASP.NET components
Software Industry Professionals
 
The association supports ASP.NET component developers
Organization of Independent Software Vendors
 
pdf duo 11 pdf duo 20 pdf duo 22
 
 

Create PDF using HTML string

PDF Duo .Net component Tutorial with code example


Task:
PDF report after converting of the HTML string
Create the HTML report & print it. For that convert the HTML report to the PDF document. Save the report copy in the server archive.
 
Directions:
  1. Add PDF Duo .Net component to the project.
  2. Initialize the HtmlToPdf instance.
  3. Compose report HTML string.
  4. Split this string to several strings, if it is necessary. Add field values.
  5. Convert HTML to PDF document with help of the SavePDF function
 
Source code (ASP.NET + C#):
Download "create pdf using html string.zip"

 

C# + ASP.NET example

 
     
 
       Components News
  May 18 , 2016  
 
  PDF Duo .Net component 2.4
  • New patterns of the text in header/footer.
• Fixed issue in rendering long table on several pages.
• Fixed page paddings at rendering big tables in PDF files.
 
  March 7 , 2016  
 
  PDF Duo .Net component 2.4
 

• Fixed adjustment of graphics elements of PDF rendering.
• New option of setting the table margins is available at HTML to PDF converting.

 
  January 14 , 2016  
 
  PDF Duo .Net component 2.4
  • Improved the render of elements with property "float".
• Fixed issues of float images in the converting of HTML to PDF.
 
  December 15 , 2015  
 
  PDF Duo .Net component 2.4
  • Added an option of render of hidden content of HTML.
• Added the converting of some content that is placed in JavaScript code in HTML file.
 
  October 6 , 2015  
 
  PDF Duo .Net component 2.4
  • Fixed issue of head row in table of HTML file.
• Fixed issue of drawing table border in PDF file.
 
  September 17 , 2015  
 
  PDF Duo .Net component 2.4
  • Improvements in CSS parser.
• Fixed issues in HTML parser including unexpected context.
 
  February 11 , 2015  
 
  PDF Duo .Net component 2.4
  • Fixed the line space of content in PDF file.
• New algorithm of calculation of the space before and after the paragraph.
 
  November 23 , 2014  
 
  PDF Duo .Net component 2.4
  • New examples of HTML to PDF converting in installation package.
• Fixed issues of special symbols in PDF file.
 
  All news...
 Copyright © 2007-2017 DuoDimension Software
Overview of Databeam Excel .Net component to convert automatically Excel Spreadsheet XLS to HTML You Download free trial version of Databeam Exce .Net component for XLS to HTML Last news about how to convert automatically XLS to HTML User documentation about conversion Excel XLS to HTML with Databeam Excel .Net help Buy now Databeam Excel .Net for automatically converting XLS to HTML
Valid HTML 4.01 Transitional