Hi amit,
maybe you can work around your problem by overlaying form fields on your PDF
(maybe read-only fields, if you don't want the user to change anything).
It's easy to get the form field positions with iText.
Just a suggestion.
Regards,
Peter
-----Ursprüngliche Nachricht-----
Von: itext-questions-admin@(protected)
[mailto:itext-questions-admin@(protected)
Gesendet: Mittwoch, 22. Juni 2005 09:05
An: Amit; 'itext-questions@(protected)'
Betreff: Re: [iText-questions] Help in superimposing text on an existing PDF
FIle
Amit wrote:
>I want to use iText to fill in the information and
>allow users to take a printout of the pre-populated
>form. I am able to add the information to the PDF file
>using PdfWriter and PdfContentByte but I am not able
>to get the info to the correct locations within the
>file. I need to arrive at the position by trial and
>error. Is there any way for me to know the exact
>position of a particular character in the PDF file,
>such as the starting position of the placeholder
>"______", so that I can start writing at the same
>position.
>
I'm sorry, it's not possible to retrieve the location of a specific String
with iText. br, Bruno
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from
IBM. Find simple to follow Roadmaps, straightforward articles, informative
Webcasts and more! Get everything you need to get up to speed, fast.
http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
iText-questions mailing list iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions