Advanced PDF Bookmark APIs

Additional to the common PDF Bookmark function Aloaha offers some more powerful bookmark APIs. Those APIs use a BookmarkID as reference.


find_BookmarkID_byTitle

Returns the BookmarkID for an existing bookmark. 

StartID=0 
BookmarkID = find_BookmarkID_byTitle("Bookmakr to find", StartID)


Please set StartID to 0 to search the document from the beginning. 


add_BookmarkByID

This function inserts a bookmark below the given BookmarkID.

ParentID = 0    ' for root level
ParentID = returned by search function
newBookmarkID=  add_BookmarkByID(ParentID, "New Bookmark",TargetPage As Long)



set_bookmarkStyle

This function can be used to set a bookmark bold and/or italics.

set_bookmarkStyle(BookMarkID, Bold As Boolean, italic As Boolean) As Boolean


remove_bookmark

As the name suggests this function can be used to remove an existing bookmark.

remove_bookmark(BookMarkID) As Boolean


Aloaha Software / Knowledge Base / PDF SDK / PDF Bookmarks / Advanced PDF Bookmarks
create PDF Software

Advanced PDF Bookmarks

Any questions?
Aloaha Software - Advanced PDF Bookmarks
ProductsKnowledge BaseShopSupportPress
Deutsche VersionEnglish version