Hi David,
On 1 September 2011 16:13, <[email protected]> wrote:
>
> Hi,
>
> I need to solve this problem:
>
> I have a PDF file containing some string.
> I want to know where on the page the string is displayed.
> I don't need exact position, just something like "the text starts at 35% of
> the page vertically".
> Only vertical postion matters to me, not horizontal.
> The goal is to be able to tell a third-party viewer how far to scroll the
> displayed page so that the searched string (which is start of a section of
> the page that matters) will be just on the top of it.
>
If your PDF file is tagged, that can be done.
If not, it'll get *really* difficult to achieve what you want to do, if not
impossible, due to the very nature of PDF.
Cheers,
alexis
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php