Moderators:TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
I have been trying to figure this one out for several days now. I've researched the documentation an forums but have not been able to find an event to capture or a property to query to pass me the bookmark in the bookmark pane that an end user has clicked on. I know that clicking on a bookmark raises the "e.pagesView.currentPageChange" event but other that the "go to" page no bookmark information seems to be available. When a document is first open the "e.documentView.activated" event is raised and at that time I build a list of bookmarks as follow.
bookMarkList1 = new List<PDFXEdit.IPXC_Bookmark>();
PDFXEdit.IPXC_Document doc = pdfCtl.Doc.CoreDoc;
PDFXEdit.IPXC_Bookmark bookMarks = doc.BookmarkRoot;
PDFXEdit.IPXC_Bookmark bookMark1 = bookMarks.FirstChild;
bookMarkList1.Add(bookMark1);
for (uint i = 0; i < bookMarks.ChildrenCount - 1; i++)
{
bookMark1 = bookMark1.Next;
bookMarkList1.Add(bookMark1);
}
My thought was that if I could capture the selected bookmark I could use the List<PDFXEdit.IPXC_Bookmark> to match on "Title" and extract needed information.