Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.GetBookmark
Returns the properties of a bookmark.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 4.0 | Yes | Yes | Yes | Yes | Yes |
MBS( "DynaPDF.GetBookmark"; PDF; BookmarkHandle; Selector ) More
Parameters
| 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" |
Result
Returns value or error.
Description
Returns the properties of a bookmark.Selectors can be:
| 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. |
See also GetBookmark function in DynaPDF manual.
Examples
query title of a bookmark:
MBS( "DynaPDF.GetBookmark"; $PDF; $BookmarkHandle; "Title" )
See also
- DynaPDF.AddBookmark
- DynaPDF.AddBookmarkEx
- DynaPDF.ChangeBookmark
- DynaPDF.DeleteBookmark
- DynaPDF.FindBookmark
- DynaPDF.GetBookmarkCount
- DynaPDF.GetBookmarksAsJSON
- DynaPDF.InsertBookmark
- DynaPDF.New
- DynaPDF.SetBookmarkDest
Release notes
- Version 10.5
Created 18th August 2014, last changed 18th August 2014
DynaPDF.GetBBox - DynaPDF.GetBookmarkCount
Feedback: Report problem or ask question.
Links
MBS Xojo tutorial videos