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.DeleteBookmark

Deletes a bookmark.

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

MBS( "DynaPDF.DeleteBookmark"; PDF; BookmarkHandle )

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

Result

Returns number or error.

Description

Deletes a bookmark.
The parameter BookmarkHandle must be a valid bookmark handle. Please note that this function invalidates all bookmark handles which are numerically greater than BookmarkHandle. DynaPDF supports several functions to find or enumerate bookmarks. It is safe to delete a bookmark within a search run. See the following functions for further information:

If the function succeeds the return value is the remaining number of bookmarks. If the function fails the return value is an error.

See also DeleteBookmark function in DynaPDF manual.

See also


DynaPDF.DeleteAnnotation   -   DynaPDF.DeleteEmbeddedFile

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins