Solved

Library to convert HTML to PDF.

Posted on 2016-11-09
8
69 Views
Last Modified: 2016-11-21
I'm looking for a library to convert HTML to PDF.   I'll be doing this in VB/C# .NET code. Currently, I am using Aspose to do this, but it's too slow for my application.  Looking for something fast, as my HTML is fairly simple.
0
Comment
Question by:HLRosenberger
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 14

Assisted Solution

by:Lokesh B R
Lokesh B R earned 83 total points
ID: 41881626
Hi,

You can use iTextSharp for C#.

https://sourceforge.net/projects/itextsharp/
0
 
LVL 48

Assisted Solution

by:dbrunton
dbrunton earned 83 total points
ID: 41881632
0
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 251 total points
ID: 41881951
I have used PDFSharp and MigraDoc in several VB.NET projects:

http://www.pdfsharp.net/?AspxAutoDetectCookieSupport=1

It's free to use even in commercial applications. I've only used it to create and merge PDF files, and not to convert (which is what MigraDoc does, I believe).
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 1

Author Comment

by:HLRosenberger
ID: 41882206
To clarify - I don't want to point to the HTML via a browser.   This is a desktop app, and I want to be able to convert an HTML file.
0
 
LVL 1

Author Comment

by:HLRosenberger
ID: 41882221
Also, I need to be able to add pages, one at a time, to the PDF.  I'm adding the same basic HTML file (with minor data changes) multiple times to the PDF.  The HTML uses position:absolute for most of the elements.
0
 
LVL 1

Author Comment

by:HLRosenberger
ID: 41882299
I've installed PDFSharp and TheArtOfDev HTMLRenderer.    I can create a PDF document.   However, I can find sample code (VB.NET or C#.NET) that shows how to use HTMLRenderer and/or with PDFSharp.
0
 
LVL 5

Assisted Solution

by:Jim Riddles
Jim Riddles earned 83 total points
ID: 41882385
I have used Syncfusion Essential Studio on a limited basis.  They have a community license, as well, which allows a free license under certain circumstances.  See the following page for more information: Syncfusion Community License
0
 
LVL 1

Author Closing Comment

by:HLRosenberger
ID: 41895891
thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Link Anchor Not working 9 51
"The resource cannot be found" 1 24
How can I add google maps in vb.net. 2 22
Web page design problem 3 18
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question