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