pdfOkToChange
Check to see if the PDF file allows changing.
int pdfOkToChange(PDFHandle pdf)
This function returns zero if the PDF file is encrypted and does not
allow changing. The owner password can be used to circumvent this:
if a valid owner password was supplied to
pdfLoadFileWithPassword
or pdfLoadMemWithPassword
, this function will always return
non-zero.
C:
int ok;
ok = pdfOkToChange(pdf);