DynaPDF Manual - Page 408

Previous Page 407   Index   Next Page 409

Function Reference
Page 408 of 787
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, GetInNamedDest (obsolete)

Next topic: GetInIsTrapped, GetInIsXFAForm, GetInOrientation

Start Chat