Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Is this possible to compare two pdf file using itextSharp Library?
Posted
Comments
Ranjan.D 21-Oct-13 7:06am    
I don't think its possible. Source - http://itextsharp.10939.n7.nabble.com/Comparing-PDF-Files-td1884.html

However at the minimum you could do binary comparison to determine the PDF documents are same.
Zoltán Zörgő 21-Oct-13 7:19am    
What kind of comparison do you want exactly? Two PDFs rendering the same result could have really different inner structure.
Ashwani Gusain 21-Oct-13 9:38am    
I want all inner structure differences,like word missing,
Zoltán Zörgő 21-Oct-13 12:05pm    
You haven't got my point, I meant the pdf-s inner structure, not the structure you see. Your only option is using some OCR. Are you willing to spend some money?
Ashwani Gusain 22-Oct-13 0:44am    
can u tell me the way to how to spend money using my programing skill

1 solution

Hi,
refer below article.

Comparing two PDF file in C#[^]

the article suggests to break the PDF files in to words and compare the words and display the difference. article uses ITextSharp library and the code is in VB which can easily converted in to C#.

hope it helps.
 
Share this answer
 

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