Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

Navigate Contents in PDF using Bookmark

$
0
0

Hi,

 

I am using Adobe Acrobat Professional XI, In that I am able to navigate to any page in PDF file using Book mark manually.

But via C++ code, I am not able to navigate using Book mark, It shows invalid destination. Anybody please help me with this issue.

 

Please find the below code snippet

 

action = PDBookmarkGetAction(item);

if (PDActionIsValid(action))

{

  dest = PDActionGetDest(action);

  if (PDViewDestIsValid(dest))  ==> Here it always returns false.

  {

   PDViewDestGetAttr(dest, &pdata->pageNum, &pdata->fitType,

    &pdata->destRect, &pdata->zoom);

  }

  else

  {

   pdata->isInvalid = true;

   pdata->indent = BookmarkLevel;

  }

}

 

 

Thanks in advance


Viewing all articles
Browse latest Browse all 10848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>