Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Highlighted words covered on scanned pdf files

$
0
0
Hello Support team!

I am currently in the process developing an app for one of our clients, that requires highlighting of certain words or phrases that are found on a scanned pdf document. I am currently using your trail version of the license.

The issue is:

The words or phrases are found and highlighted however, the highlights completely cover the word (meaning there is 0% opacity) - This is only true for a scanned pdf document

Code snippet for the highlighting:

TextState ts = new TextState();
// set background color to highlight the text
   Color co = Color.getYellow();
  ts.setBackgroundColor(co);


Please find  an attached image of this problem. The word to be highlighted is strictly "Lead" and not "Leader" 

Your help and input is greatly appreciated! 


Viewing all articles
Browse latest Browse all 3131

Trending Articles