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

DynaPDF Manual - Page 392

Previous Page 391   Index   Next Page 393

Function Reference
Page 392 of 750
GetInNamedDest (obsolete)
Syntax:
LBOOL pdfGetInNamedDest(
const PPDF* IPDF,
// Instance pointer
UI32 Index,
// Array index
struct TPDFNamedDest* Dest) // Structure to be filled
This function is no longer supported. Please use the new function GetNamedDest() instead.
GetInNamedDestCount (obsolete)
Syntax:
SI32 pdfGetInNamedDestCount(
const PPDF* IPDF) // Instance pointer
This function is no longer supported. The function returns always zero also if the file contains named
destinations. Please use the new function GetNamedDestCount() instead.
GetInIsSigned
Syntax:
SI32 pdfGetInIsSigned(
const PPDF* IPDF) // Instance pointer
This function can be used to determine whether a PDF file contains a digital signature. The PDF file
must be opened with OpenImportFile() or OpenImportBuffer() beforehand.
The function checks only whether the signature flag is set in the global AcorForm object. Since not all
PDF libraries set the signature flag, it is not guaranteed that the file contains no signature if the
return value is false.
The only safe way to check for signatures is to import the file and search for deleted signature fields
with GetFieldEx(). If the member ISignature is set and if the member Contents of the TPDFSigDict
structure is non-NULL then the file contains a signature. See GetFieldEx() and GetSigDict() for
further information.
Return values:
If the PDF file contains a digital signature the return value is 1. If the file was not digitally signed the
function returns 0. A negative error code is returned on failure.
 

Previous topic: GetInMetadata

Next topic: GetInOrientation