Write hidden text in PDF

Discussions about PDF management.
Post Reply
kptech
Posts: 1
Joined: Mon Oct 03, 2011 6:19 pm

Write hidden text in PDF

Post by kptech » Mon Oct 03, 2011 6:44 pm

Hello.

We use third party OCR engine which returns us text with coordinates. How can we write this back to a PDF as hidden text to make that PDF searchable?

Thanks for your help on this.

KP

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Write hidden text in PDF

Post by Loïc » Tue Oct 04, 2011 1:06 pm

Hi,

Just use SetTextMode(3) before drawing text on the page. This produces invisible text.

Le me know if you need further information.

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest