New Forum | Previous | Next | (P-PDF) Developers
Topic: Can a C++ program create highlight annotations?
Conf: (P-PDF) Developers, Msg: 52094
Date: 5/29/2002 04:49 PM
I have developed a custom plugin in C++ that extracts information from a PDF file open in Acrobat 4 using Core API calls and communicates results to other programs. Under some circumstances, we would like to create highlights in the open document. I was able to create text annotations via Core API calls, but could find no way to create a highlight annotation such as provided by the annotation tool plugin. (That is, without implementing my own annotation type!)
Does anyone know of a way to create a text highlight using the features already present in the standard plugin? I have tried selecting the highlight tool button via the API and simulating mouse clicks, but this did not work well at all!