pdfOkToExtractText

Check to see if the PDF file allows text extraction.
int pdfOkToExtractText(PDFHandle pdf)
This function returns zero if the PDF file is encrypted and does not allow extraction of text. 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.

If this function returns zero, the text extraction functions will not return any text.

C:
int ok; ok = pdfOkToExtractText(pdf);
pdfOkToPrint
pdfOkToChange
pdfOkToAddNotes