Subject: | Issue with Annotation Link |
Date: | Tue, 24 Jul 2018 16:29:11 +0200 |
To: | bug-PDF-API2 [...] rt.cpan.org |
From: | Christine Hoogland <christine.hoogland [...] gmail.com> |
Hello,
Thanks for a great and useful library.
I'm using PDF-API2-2.033, perl v5.26.1 through Cygwin
I'm trying to add a table of content as first page in a pdf built with
PDF::API2, ie to link some text to go to specific page, but it doesn't seem
to work. Outlines/Bookmarks are OK and behave as expected. The link on the
text seems to be there (cursor is changing aspect on mouse over the text)
but it is not going anywhere.
my $annot = $contentpage->annotation;
my $page2 = $pdf->openpage(2);
$annot->link($page2,
-rect => [40, 750, 490, 764],
-border => [1,1,1],
-dest => $page2,
);
Is there anything missing in my code (full script and pdf produced
attached) ?
Thanks a lot!
Regards,
Christine
Message body is not shown because sender requested not to inline it.
Message body not shown because it is not plain text.