Hi everyone,

I tried to search up the web for the last 2 hours but did't find anything
for the following problem:

- I'm creating PDFs dynamicly with PdfWriter
- For further processing, I need absolute position informations from certain
elements in the PDF
- For text inside a cell and using a PdfPCellEvent plus Generic Tags I'm
able to retrieve the position information when the PDF is written
- I need the same information for images, but I have the restriction that
the image should not be placed inside table cells exclusivly, because
alignment and text-wrap/underlying should still be possible for normal
parargaphs

My question is: how can I get the absolute page position for an image that
has been inserted vie PdfWriter somewhere in the document? Wrapping a chunk
w/ genericTags around it messes image alignement, adding a chunk afterwards
and computing the values does not work, because the chunk is always at the
next line when using alignment left, center or right. Using pageEvents I
could capture an onParagraph and onParagraphEnd, but how can I check if the
Image I want to find is part of the paragraph?

I'm out of ideas, thank you for your help, greetz,
GHad

-- 
View this message in context: 
http://www.nabble.com/Create-PDF-w--Barcode-and-retrieve-position-afterwards-tp23480675p23480675.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to