Yes, if you prepare the PDF first, you can use named destinations.

From: Feng Qing <fengqing...@yahoo.com<mailto:fengqing...@yahoo.com>>
Reply-To: Feng Qing <fengqing...@yahoo.com<mailto:fengqing...@yahoo.com>>, Post 
here 
<itext-questions@lists.sourceforge.net<mailto:itext-questions@lists.sourceforge.net>>
Date: Monday, October 27, 2014 at 11:22 AM
To: iText mailing list <i...@1t3xt.info<mailto:i...@1t3xt.info>>, Post here 
<itext-questions@lists.sourceforge.net<mailto:itext-questions@lists.sourceforge.net>>
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 
<i...@1t3xt.info<mailto:i...@1t3xt.info>> 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
iText-questions@lists.sourceforge.net
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

Reply via email to