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.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

DynaPDF.SetBookmarkDest

Sets or changes the destination of a bookmark.

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

MBS( "DynaPDF.SetBookmarkDest"; PDF; BookmarkHandle; DestType; a; b; c; d )

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
DestType The destination type. Must be XY_Zoom, Fit, FitH_Top, FitV_Left, Fit_Rect, FitB, FitBH_Top or FitBV_Left.
a The first parameter. $a
b The first parameter. $b
c The first parameter. $c
d The first parameter. $d

Result

Returns OK or error.

Description

Sets or changes the destination of a bookmark.
The parameter BookmarkHandle must be a valid bookmark handle. The destination page will not be changed by this function it must be set correctly with the function DynaPDF.AddBookmark. If it should be changed use the function DynaPDF.ChangeBookmark.
The destination created by this function allows jumping to a specific position in a document instead of simply opening a page such as a normal bookmark does.
See dynapdf_help.pdf manual file for details.

See also SetBookmarkDest function in DynaPDF manual.

See also


DynaPDF.SetBBox   -   DynaPDF.SetBookmarkStyle

Feedback: Report problem or ask question.




Links
MBS Xojo blog