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.
procedure TMyPDF.AddBookmark(APage: Integer; ATitle: String; APrepend: Boolean = False);
var
BM: IPXC_Bookmark;
AL: IPXC_ActionsList;
begin
if Assigned(FDoc) then
try
FDoc.BookmarkRoot.AddNewChild(not APrepend, BM);
BM.Set_Title(ATitle);
//How do I set the Page??
FDoc.BookmarkRoot.AddChild(BM, not APrepend);
except end;
end;
Please read the Bookmarks part (12.3.3 Document Outline) and the Actions part (12.6 Actions) in the PDF specification for better understanding. Also, try creating bookmarks in the End-User Editor and look into the Actions list for the clarification.
As you are using the Editor SDK then it's better to modify the action list with the operation: https://sdkhelp.pdf-xchange.com/vie ... s_setProps
The action list should be created using the: https://sdkhelp.pdf-xchange.com/vie ... ctionsList
The AddGoTo method should be used to add the appropriate GoTo Action: https://sdkhelp.pdf-xchange.com/vie ... st_AddGoto