Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).

New Forum | Previous | Next | (P-PDF) Developers

Topic: PDBookmark lifespan
Conf: (P-PDF) Developers, Msg: 55205
From: DanielAri
Date: 5/29/2002 05:11 PM

Hello all,

Does anyone know the lifespan of a PDBookmark? That is, if I make a private copy of a PDBookmark when a document is opened, can I count on that PDBookmark continuing to be valid until the document is closed?

The situation: when a document is opened, I copy all of the bookmark titles and PDBookmarks into a private list. I allow the user to navigate the document by picking from that private list. When the user picks from the list, a fair amount of time may have passed since the document was opened. I want to grab the PDBookmark from my private list and do things such as calling PDBookmarkGetAction so that I can execute the action.

I register for all of the bookmark-related events and alter or abandon my private list of bookmarks as appropriate. I am concerned that as memory is needed the structure associated with my PDBookmark may be purged even though the bookmark itself continues to exist.

Does anyone have any knowledge about how long I can count on a PDBookmark to live?


PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Five visions of a PDF Day

In the world of PDFs or as we like to say Planet (of) PDF, a year isn't a real PDF year without an intense few days of industry knowledge sharing.

May 15, 2018
Platinum Sponsor

Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.


Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.