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.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

DynaPDF.GetBookmarksAsJSON

Queries all bookmarks as JSON array.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 10.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.GetBookmarksAsJSON"; PDF { ; Flags } )   More

Parameters

Parameter Description Example Flags
PDF The PDF reference returned from DynaPDF.New. $pdf
Flags Pass 1 to get a flat list. 0 Optional

Result

Returns JSON or error.

Description

Queries all bookmarks as JSON array.
See TBookmark structure in DynaPDF manual, which we convert to JSON for you.

Keys include: Color, DestPage, DestPos, DestType, Open, Parent, Style, Unicode, TitleLen, Title, Children and Index.
If flat option is used, the Children array will include the indexes of children instead of objects describing those.

Examples

Query JSON:

Set Variable [ $JSON; Value: MBS( "DynaPDF.GetBookmarksAsJSON"; PDF ) ]

See also

Release notes

Example Databases

Blog Entries

FileMaker Magazin

Created 16th September 2020, last changed 16th September 2020


DynaPDF.GetBookmarkCount - DynaPDF.GetBorderStyle

Feedback: Report problem or ask question.