Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 286

Previous Page 285   Index   Next Page 287

Function Reference
Page 286 of 750
DeleteAppEvents
Syntax:
SI32 pdfDeleteAppEvents(
const PPDF* IPDF,
// Instance pointer
LBOOL ApplyEvent,
// Apply the visibility state Event before deletion?
TOCAppEvent Event) // Will be ignored if ApplyEvent is false
The function deletes all application events if any. The function can optionally apply the visibility
state of an event before the application events will be deleted. The new visibility state will be stored
in the PDF file. To apply the visibility state of a specific event without deletion call ApplyAppEvent()
instead.
Return values:
If the function succeeds and if application events were deleted the return value is 1. If the no
application events were defined the return value is 0. If the function fails the return value is a
negative error code.
DeleteBookmark
Syntax:
SI32 pdfDeleteBookmark(
const PPDF* IPDF, // Instance pointer
UI32 ABmk)
// Bookmark handle
This function deletes a bookmark. The parameter ABmk must be a valid bookmark handle. Please
note that this function invalidates all bookmark handles which are numerically greater than ABmk.
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:
GetBookmarkCount()
GetBookmark()
FindBookmark(), FindNextBookmark()
Return values:
If the function succeeds the return value is the remaining number of bookmarks. If the function fails
the return value is a negative error code.
DeleteEmbeddedFile
Syntax:
LBOOL pdfDeleteEmbeddedFile(
const PPDF* IPDF, // Instance pointer
UI32 Handle)
// Embedded file handle or array index.
The function deletes an embedded file. The parameter Handle must be a valid embedded file handle.
Such a handle is a simple array index. GetEmbeddedFileCount() returns the remaining number of
 

Previous topic: DeleteAnnotationFromPage

Next topic: DeleteFieldEx