DynaPDF Manual - Page 353
Previous Page 352 Index Next Page 354
Function Reference
Page 353 of 839
FindNextBookmark
Syntax:
SI32 pdfFindNextBookmark(
const PPDF* IPDF) // Instance pointer
The function searches for the next bookmark with the same search parameters which were used by a
previous call of FindBookmark(). FindBookmark() must be called beforehand.
It is safe to delete a found bookmark with DeleteBookmark() and to continue the search run.
Return values:
If a bookmark can be found the return value is the bookmark handle, a value greater or equal zero.
If no bookmark can be found the return value is -1. This function cannot fail; other return values are
impossible.
FinishSignature
Syntax:
LBOOL pdfFinishSignature(
const PPDF* IPDF,
// Instance pointer
const void* PKCS7Obj, // PKCS#7 object buffer
UI32 Length)
// Length of the PKCS#7 object in bytes
The function writes the PKCS#7 signature object to the PDF file and writes finally the finish PDF file
to disk and frees all used resources if the file was not created in memory. If the file was created in
memory GetBuffer() can now be called to obtain the finish PDF buffer.
CloseAndSignFileExt() must be called prior this function can be called.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
FlattenAnnotOrField
Syntax:
LBOOL pdfFlattenAnnotOrField(
const PPDF* IPDF,
// Instance pointer
UI32 Index,
// Annotation index
TAnnotFlattenFlags Flags) // See FlattenAnnots()
The function draws an annotation or form field on the current open page. Form fields are
annotations of type atWidget. The annotations of a page can be enumerated with GetPageAnnotEx()
/ GetPageAnnotCount().
The annotation or form field is deleted from the page's annotation array after it was flattened.
Previous topic: FindField, FindLinkAnnot
Next topic: FlattenAnnots