New Forum | Previous | Next | (P-PDF) Developers
Topic: text highlight
Conf: (P-PDF) Developers, Msg: 73481
Date: 10/3/2002 03:18 AM
I'm working on a plug-in to highlight text in a pdf document.
I've registered a callback for the AVPageViewDidDraw notification and I use PDTextSelectCreatePageHilite and AVDocSetSelection methods to highlight text in every page.
But when AVDocSetSelection creates highlights in a page the previous selections made in other pages disappear.
Is there a way to highlight text for all the pdf document and make these highlights to be persistents?
Someone told me to use AVPageViewInvertRect method to create highlights, but my informations about the text to be highlighted are page, offset and lenght and I don't know how to transform these in a AVRect needed by this method.
Thanks in advance