Create PDF using HTML string
PDF Duo .Net component Tutorial with code example |
|
Task: |
 |
|
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: |
- Add PDF Duo .Net component to the project.
- Initialize the HtmlToPdf instance.
- Compose report HTML string.
- Split this string to several strings, if it is necessary. Add field values.
- 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 |
|
|
|
| |
|
|
|