Click here to Skip to main content
15,030,183 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guys,

Really need your help here :-)

I am having a problem for 2 days now about converting a PDF to HTML using a free library for ASP.net VB code-behind with sample code.

Hoping you can help me find a solution for this problem.

Thank you.

Hifi
Posted

1 solution

Have a look here: http://sourceforge.net/projects/itextsharp/[^]. It's iTextSharp, a free .NET PDF library for non-commercial usage! (Thank you Valery for your comment)

You can use this library to extract text from pdf:
Using iTextSharp to extract Text from PDF files[^].
Extract Text from PDF in C# (100% .NET)[^]
C#,iTextSharp – PDF file – Insert/extract image,text,font, text highlighting and auto fillin[^]
   
v2
Comments
Valery Possoz 26-Nov-14 14:38pm
   
iTextSharp is not free!
For hobbyist or open source projects it is free under the AGPL v3 license.
If you want to use iTextSharp in a commercial product you need to pay for it... Server price is about $2000 per server, desktop price is about $100 per workstation... If you ask me that's quite expensive!
If you want to use version prior to v5 of iTextSharp then you are in troubles as it contains code fragments that infringe on many people's intellectual property and you could be sued...
Maciej Los 26-Nov-14 15:01pm
   
Thank you for your comment, Valery and please, do not shout on me (two times you used a [!]).
I don't see any remarks that it's a commercial project. " If you ask me..." - Sorry, but you're not a questioner...
Calm down, man ;)
Regards,
Maciej
Valery Possoz 26-Nov-14 15:39pm
   
I'm calm and I did not shout at you... Sorry if you felt offended that was not my intention.
Anyway that does not change the point I was making iTextSharp is not free for commercial projects.
Maciej Los 27-Nov-14 2:16am
   
Thank you, Valery ;)
hifiger2004 27-Nov-14 3:21am
   
Thanks :-)

But, I need to post another question because the requirement has just changed. The PDF should be viewable and editable. The problem with PDF to HTML is that it is not editable. There's no way we can edit or insert a text, image, etc.

Thanks again
Maciej Los 27-Nov-14 3:29am
   
You're very welcome ;)
   
5ed.
—SA
Maciej Los 27-Nov-14 5:09am
   
Thank you, Sergey ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900