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

DynaPDF Manual - Page 311

Previous Page 310   Index   Next Page 312

Function Reference
Page 311 of 750
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.
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.
 

Previous topic: FindField

Next topic: FlattenForm