DynaPDF Manual - Page 322

Previous Page 321   Index   Next Page 323

Function Reference
Page 322 of 777
Return values:
If the function succeeds the return value is the field handle, a value greater or equal zero. If the
function fails the return value is a negative error code, a value smaller -1, or -1 if the field cannot be
found.
FindLinkAnnot
Syntax:
SI32 pdfFindLinkAnnot(
const PPDF* IPDF, // Instance pointer
const char* URL)
// URL or file path
This function searches for a file link or web link annotation. The parameter URL must be the URL of
a web link annotation or the file path of a file link annotation, exactly defined in a case sensitive
manner.
Return values:
If the annotation can be found the return value is the annotation handle, a value greater or equal
zero. If the function fails the return value is a negative error code.
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.
 

Previous topic: FindEmbeddedFile, FindField

Next topic: FlattenAnnotOrField, FlattenAnnots