Re: [iText-questions] Need help - check if content exists in certain area

2012-08-30 Thread stiggs
Thanks. I figured out how to do it using ghostcript. >gswin64c.exe -o nul: -sDEVICE=bbox {pdf file} -- View this message in context: http://itext-general.2136553.n4.nabble.com/Need-help-check-if-content-exists-in-certain-area-tp4656045p4656097.html Sent from the iText - General mailing list

Re: [iText-questions] Need help - check if content exists in certain area

2012-08-27 Thread 1T3XT BVBA
On 27/08/2012 22:40, stiggs wrote: > If I use the overContent, is there > anyway of determining what if anything will get covered? No, what you want can't be done with overContent. What you want would imply that you parse the complete content stream, and keep track of all the graphical state and t

[iText-questions] Need help - check if content exists in certain area

2012-08-27 Thread stiggs
Hello, I'm trying to add a barcode to each document in the top-left hand side. I want to determine programmatically if there is any content within a certain geometry (let's say a 10mm wide x 60mm tall barcode offset 6mm from the left, and 6mm from the top) on the document. If there is, I want to