Click here to Skip to main content
15,906,455 members
Please Sign up or sign in to vote.
1.80/5 (3 votes)
See more:
Hello Friends,

I am looking to convert PDF to html using any C# open source library. Can anyone help me?
Updated 12-Apr-16 1:24am
I guess there is no such free library. But you can get paid ones.
Ahmed Bensaid 27-Feb-14 10:22am    
You could use iTextSharp library to extract text from your PDF file. Then, you could build your HTML markup yourself.
Sumit Rastogi SRA 28-Feb-14 3:39am    
Hello Ahmed, I can build Html file using extract text but how i will put images on exact position in html file?
Ahmed Bensaid 27-Feb-14 10:24am    
Or maybe this solution (accepted answer of this thread) :
Maciej Los 27-Feb-14 14:42pm    
Please, post it as an answer ;)

1 solution

Maybe this solution (accepted answer of this thread) :[^]
Share this answer
Sumit Rastogi SRA 28-Feb-14 4:59am    
Hello Ahmed,

Thanx for your reply. But this link is not helping to me. I already wrote a html file using text extraction but i am in problem how i will put images on exact location.?
Ahmed Bensaid 28-Feb-14 5:07am    
Ok, so take a look there ;)
Ahmed Bensaid 28-Feb-14 5:45am    
For positions :
Sumit Rastogi SRA 3-Mar-14 1:26am    
Hello Ahmed,

Sorry bro . I already look all these link but we can't imagine position of images in pdf which will suits same in my html document and I can't use any paid library else there is lots of paid library available.By the way , thanks a lot to try to help me.

If you can provide me best example then really it would be helpful for me else what link you have suggested that are not reaching on my requirement.
Member 10711974 23-Jun-14 2:06am    
Hi Sumit Rastogi, How you fixed this? I would like to implement pdf display on web page by converting pdf to html.. Please help me if you have any advice. Thanks

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