Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Bookmark Destination

$
0
0
Hi,

We are trying to go through all bookmark present in a PDF Document and Verify their action,
I have attached a sample PDF document with 3 bookmarks present, where we are getting bookmark Action as null for 2 bookmarks. but, bookmark Destination will have some value.

We are handling the above scenario but using code as below: 

private void ExtractBookmarkInformation(OutlineItemCollection pdbmk)
{
PdfAction action = pdbmk.Action;
if(action != null)
{
...
}
else if(pdbmk.Destination != null )
{
...
}
}

For attached PDF document we notice following issues,
1. The Bookmark action is reported as  null in Aspose, but actually it is not null when we verify in Adobe (correct me if I am wrong).

2. Also from the above code (in else part) for the same PDF Bookmark checking the destination (if(pdbmk.Destination != null )) is taking very long time when we are navigating through hundreds of bookmarks.

The good thing is Aspose is doing very good job in Performance compared to other competitors except the above performance issue.

Is there any alternative to overcome this performance problem.

Thanks in Advance.



Viewing all articles
Browse latest Browse all 3131

Trending Articles