galkahana/HummusJS

Link to other page

lkiii opened this issue · 0 comments

lkiii commented

hello, I have an issue with creating link to another page.

I am currently using

 ....
 pdfWriter.pausePageContentContext(contentContext)
 pdfWriter.attachURLLinktoCurrentPage('file.pdf#page=2', 0, 0, pageWidth, pageHeight)
 ....

And link is being created, but it is external link to file://myfilelocation/file.pdf#page=2 and it does not work as expected. Can someone help with this issue?