Hello,

I’ve been using Pdfbox with full satisfaction since a couple of months.
Anyway, for the problem I’m facing now I can’t find a viable solution so
I’m asking for some help.

I have to delete from the pdf file, a small black square that is on the odd
pages along the right border of the page (here is an example
https://www.dropbox.com/s/tlny4qkiek5efb0/example.pdf?dl=0  ). I got the
square dimension, so can easily retrieve the x coordinate: the problem is
that I don’t have the y as it could be placed at any height in the page. I
thought to cover it by placing a withe rectangle as a strip alongside the
right border of the page, but this is not feasible as some row text could
end inside that zone.

The rest of the page contains text and picture and that square is the only
“shape” in the page. Is there a way to get it or its coordinates?

Many thanks

Michele
[image: image.png]

Reply via email to