Bookmarks don't have to point to pages. They can do nothing, execute JS
code, go to a Named Destination, a combination of the above, etc.
What you should do is acquire the PDAction associated with the bookmark and
then find out which type of action it is. If it's indeed a Go To-action
(PDActionGoTo) with a page destination (PDPageDestination), then you can
use that object's findPageNumber() to find out to which page its pointing.

Gilad

On Mon, Jan 23, 2012 at 2:13 PM, Ilija Pavlic <[email protected]>wrote:

> After obtaining PDOutlineItem, how can I find the *page number* of the
> bookmark?
>
> Thank you,
> Ilija.
>

Reply via email to