Hi Eric, I did something similar for one of our customers. I didn't use a rectangle but a highlight annotation. A sample for annotations can be found at [1]
Kind regards Maruan Sahyoun http://svn.apache.org/repos/asf/pdfbox/branches/before-maven-layout/src/org/pdfbox/examples/pdmodel/Annotation.java Am 19.03.2013 um 03:42 schrieb Eric Chow <[email protected]>: > Hello, > > How can I add a transparent yellow rectangle to a specific co-ordinate > (llx, lly, urx, ury) into an existed PDF? > > > In fact, I want to highlight some text that I know the exact position in > the PDF. Would you please to teach me? > > > Best regards, > Eric

