logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
edwin.rafe  
#1 Posted : Thursday, September 21, 2017 2:52:45 PM(UTC)
edwin.rafe

Rank: Newbie

Groups: Registered
Joined: 9/21/2017(UTC)
Posts: 3

Thanks: 1 times
Hi,

I'm developing an application that basically compares the text between two pdf documents. Currently to show the differences to my users I'm highlighting the text differences and it works fine when the differences has a lot of chars. But sometimes the difference is very small, sometimes the difference is only one char, and in this situations, is very difficult to see the highlighted char.

I'm already scrolling the page to the difference position but even doing that it's still hard to see, mainly when the difference is small (like just a single . ).

Is there an easy way to draw a rectangle around the highlighted text without rendering the page in a bitmap? Or maybe to expand the height of the highlight. Doing that would be easier for my users to identify the differences.

Thanks in advance,

Ed.
Paul Rayman  
#2 Posted : Thursday, September 21, 2017 7:02:47 PM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,138

Thanks: 10 times
Was thanked: 133 time(s) in 130 post(s)
Originally Posted by: edwin.rafe Go to Quoted Post
Is there an easy way to draw a rectangle around the highlighted text without rendering the page in a bitmap?


Yes there is.
Please look at this topic
http://forum.patagames.c...o-viewer-page-image-data
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.