Please ignore my email

i have managed to solve this. i got the right values .

thank you

On Tue, May 8, 2018 at 2:36 PM, chitgoks <[email protected]> wrote:

> I am currently working on bookmarks in pdfbox and i have a question to
>> those familiar with PDF and pdf.js
>
>
> im creating a bookmarking feature in pdf.js and i have x,y values as well
> as the page number
>
> when i use this  PDOutlineItem  for creating bookmarks, i see that when
> clicking it does not always go to the correct position.
>
> could this perhaps be because the scrollbar height of the pdf and the one
> in pdf.js are different?
>
> please advise if anyone has ideas. thank you
>
>
>>
>
>
>> On Thu, Apr 26, 2018 at 4:59 PM, Gilad Denneboom <
>> [email protected]> wrote:
>>
>>> Certainly. For the destination of the bookmark you can use a
>>> PDPageXYZDestination
>>> <https://pdfbox.apache.org/docs/2.0.8/javadocs/org/apache/pd
>>> fbox/pdmodel/interactive/documentnavigation/destination/PDPa
>>> geXYZDestination.html>
>>> object, which lets you define the zoom level.
>>>
>>> On Thu, Apr 26, 2018 at 9:17 AM, chitgoks <[email protected]> wrote:
>>>
>>> > hi everyone
>>> >
>>> > im currently looking into bookmarks and i saw some post using the
>>> > PDOutlineItem class.
>>> >
>>> > However, it looks like it only contain ways to save the position and
>>> the
>>> > page number.
>>> >
>>> > I saw a video in acrobat that the bookmark will also store the zoom
>>> value.
>>> > is this supported in pdfbox?
>>> >
>>> > please advise.
>>> >
>>>
>>
>>
>

Reply via email to