DynaPDF Manual - Page 434
Previous Page 433 Index Next Page 435
Function Reference
Page 434 of 839
GetInEncryptionFlags
Syntax:
SI32 pdfGetInEncryptionFlags(
const PPDF* IPDF) // Instance pointer
The function returns the encryption flags of the currently opened import file. If no flag is set the
return value is zero. To determine whether a PDF file is encrypted call the function
GetInIsEncrypted().
GetInFieldCount
Syntax:
SI32 pdfGetInFieldCount(
const PPDF* IPDF) // Instance pointer
The function returns the number of top level fields included in the currently opened import file. The
number of top level fields may not match the number of fields in the PDF file. For example,
interactive forms created by Adobe's Designer contain usually one top level group field that
contains all other fields of the document. The return value would be 1 in this case because the
children of group fields are not taken into account.
Return values:
If the function succeeds the return value is the number of top level fields, a value greater or equal
zero. If the function fails the return value is a negative error code.
GetInIsCollection
Syntax:
SI32 pdfGetInIsCollection(
const PPDF* IPDF) // Instance pointer
The function checks whether the currently opened import file is a portable collection. See
CreateCollection() for further information.
Return values:
If the function succeeds the return value is either 0 or 1 depending on whether the opened PDF file
is a portable collection. If the function fails the return value is a negative error code.
GetInIsEncrypted
Syntax:
SI32 pdfGetInIsEncrypted(
const PPDF* IPDF) // Instance pointer
The function checks whether the currently opened import file is encrypted.
Previous topic: GetInDocInfoCount, GetInDocInfoEx
Next topic: GetInIsSigned, GetInIsTaggedPDF