Print Page | Close Window

PDF Comparison

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2467
Printed Date: 29 Apr 25 at 10:27AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: PDF Comparison
Posted By: pdfissue
Subject: PDF Comparison
Date Posted: 07 Dec 12 at 11:19AM
Hi,
 
Would it be possible to advice me a best practise to compare 2 pdf files which is of similar format, but has slight differences (ex: number, lines, alligment, spcial charactors etc).
 
if there is a code which will do this work for me would really be appriciated. Also please let me know the different technologies which will do this work, i know couple of softwares, but those softwares am not suppose to install into my system. Please help me out!
 
 
 



Replies:
Posted By: Ingo
Date Posted: 07 Dec 12 at 11:33AM
Hi!

To compare two documents regarding the layout
i would use GetContentStreamToString and in the
end i would compare these two strings.

To compare two documents regarding the textcontent
i would use GetPageText putting the content into
strings and in the end i would compare these two strings.

I don't know if this is BEST practice but it works.
Hope i could give you some ideas ;-)

Cheers and welcome here,
Ingo




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk