Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Returns the properties of a bookmark.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 4.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
BookmarkHandle | The reference number for the bookmark. Either returned by one of the add/insert functions or just counting from 0 to DynaPDF.GetBookmarkCount-1. | $BookmarkHandle |
Selector | Which information to query. | "Title" |
Returns value or error.
Color | Bookmark color (PDF 1.4) |
DestPage | Destination page |
DestPos | Destination position |
DestType | Destination type (see DynaPDF.SetBookmarkDest) |
Open | 1 if the bookmark appears open |
Parent | Parent bookmark if any or -1 |
Style | Text style. a combination of 1 for italic and 2 for bold. |
Title | Title text. |
TitleLen | Title length in characters. |
NamedDest | Optional name of a named destination. If set, DestPage, DestPos, and DestType were already taken from the destination if it was found. |
Action | Action handle or -1 if not set. |
See also GetBookmark function in DynaPDF manual.
query title of a bookmark:
MBS( "DynaPDF.GetBookmark"; $PDF; $BookmarkHandle; "Title" )
This function checks for a license.
Created 18th August 2014, last changed 24th January 2023