RE: Understanding PDPageXYZDestination.setTop(...)

2017-12-13 Thread Hesham Gneady
Tilman, I have tried it now and it's working. I must have been doing something wrong. Thanks a lot  Best regards, Hesham -- Included Message: I tried it with the AddAnnotations

Re: Understanding PDPageXYZDestination.setTop(...)

2017-12-12 Thread Tilman Hausherr
I tried it with the AddAnnotations example. There is a difference between 100 and 500. You can see the difference by looking at the scroll bar. Tilman Am 12.12.2017 um 10:50 schrieb Hesham Gneady: Hello , I am trying to use PDPageXYZDestination to create an internal link that could

Understanding PDPageXYZDestination.setTop(...)

2017-12-12 Thread Hesham Gneady
Hello , I am trying to use PDPageXYZDestination to create an internal link that could move to a specific area in another page in the same PDF. Here is the code I've tried: List annotations = page1.getAnnotations(); PDPageXYZDestination dest = new PDPageXYZDestination(); dest.setPage(