I have the position of a stream of characters in the input pdf file. Each 
character has a TextPosition object.

Suppose that, I want to highlight this stream of characters. As I know, I have 
to leverage PDAnnotationTextMarkup. This class requires the position of the 
annotation which is set by "setRectangle()" and "setQuadPoints()" functions.


I don't know how to convert a TextPosition object into PDRectangle and 
QuadPoints equivalence.

Reply via email to