HTML to PDF + iTextSharp error

Posted on 2008-06-18
Last Modified: 2012-06-21

I am converting HTML to PDF whcih has been working fine on small strings of html but once it larger and contains more code i receive this error.

Error: Input string was not in a correct format.

Anyone run across this before while trying to convert html to PDF with iTextSharp?
Question by:tmueller18
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

Expert Comment

ID: 21820312
    Good morning, show your code please.
Try this solution

This is code example.

Adil Fazal

Author Comment

ID: 21823668
Thanks for the link Adil,

I ended up going with WebSuperGoo since it had no problem handing the HTML i gave it.

Took all of 15 minutes to get it to work.

Accepted Solution

Computer101 earned 0 total points
ID: 22601144
PAQed with points refunded (500)

EE Admin

Featured Post

Industry Leaders: 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

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

688 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