Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

DynaPDF.GetBookmark

Returns the properties of a bookmark.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 4.0 Yes Yes Yes Yes Yes

MBS( "DynaPDF.GetBookmark"; PDF; BookmarkHandle; Selector )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
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:
ColorBookmark color (PDF 1.4)
DestPageDestination page
DestPosDestination position
DestTypeDestination type (see DynaPDF.SetBookmarkDest)
Open1 if the bookmark appears open
ParentParent bookmark if any or -1
StyleText style. a combination of 1 for italic and 2 for bold.
TitleTitle text.
TitleLenTitle 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.GetBBox   -   DynaPDF.GetBookmarkCount

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins