@Christian_Schmitz
I’m creating PDF viewer (drawing the displayed page as a picture) for use in my Apps and want to support bookmarks
In this case the PDFs originated as word documents that get converted to PDF by Acrobat Pro, and the Word Table of Contents becomes bookmarks in the PDF
What I want is if the zoom level is set such that the bookmarked item would be out of view I want to scroll to being it into view and perhaps highlight it…
I thought DynaPDFBookmark.DestRect woudl have the info I need with dimensions in points, but these bookmarks only have values in some of the properties:
BookMark.Bottom
BookMark.Left
BookMark.Width
But I can’t make sense of what Bottom is and in these PDFs at least, Bookmark.Width = - Bookmark.Left and Bookmark.Left always = 69!
Looking at docs it seems these value MIGHT depend on Bookmark.DestType … but that is 0 and that does not seem to one of the documented options, so what does BookMark.Bottom represent!!!
Apparently location information for the bookmark is defined internally correctly as viewers such a Preview do scroll to the right location on the page when a bookmark is selected.
How can I get the information i need to do this?
Thanks
-Karen