Re: Link to specific coordinates within PDF?

Leonard Rosenthol <[email protected]> Mon, 27 Oct 2014 15:40:59 +0000
Newsgroups gmane.comp.java.lib.itext.general
Message-ID <D073DFC0.7FCB6%[email protected]>
Yes, if you prepare the PDF first, you can use named destinations.

From: Feng Qing <[email protected]<mailto:[email protected]>>
Reply-To: Feng Qing <[email protected]<mailto:[email protected]>>, Post here <[email protected]<mailto:[email protected]>>
Date: Monday, October 27, 2014 at 11:22 AM
To: iText mailing list <[email protected]<mailto:[email protected]>>, Post here <[email protected]<mailto:[email protected]>>
Subject: Re: [iText-questions] Link to specific coordinates within PDF?

Hello,

Thanks very much!

However, although there are
{
page number
specific comment
view
zoom level
}

parameters that can be embedded in URL, there is no option to exactly specify the coordinate location associated with opening a specific page.

Can that actually be done?


Feng



On Monday, October 27, 2014 5:29 PM, iText mailing list <[email protected]<mailto:[email protected]>> wrote:


On 10/26/2014 21:53 PM, Feng Qing wrote:
Hello,

As http://helpx.adobe.com/acrobat/kb/link- html -pdf-page-acrobat. html<http://helpx.adobe.com/acrobat/kb/link-html-pdf-page-acrobat.html%5D> shown, to add html link to specific page in a PDF document one writes

"http://www.example.com/myfile.pdf#page=4"<http://www.example.com/myfile.pdf#page=4>

However if further we would like to link to specific coordinate within the PDF file, like (300, 500), is there a link scheme to achieve that?


Please take a look at the following document for more info:
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf

You are looking for the "view" parameter.

------------------------------------------------------------------------------

_______________________________________________
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