Checks whether the PDF file requires a password in order to be read.
// Checks whether the PDF file is protected
IF PDFIsProtected("C:\Temp\MyDocument.pdf") = True THEN
Info("Password protected PDF file")
<Result> = PDFIsProtected(<PDF file>)
- True if a password is required to open the PDF file,
- False otherwise.
<PDF file>: Character string (with quotes)
Name and path of PDF file to study.
Only the password required to open the file is taken into account. If the PDF file requires a password to modify the protection features, this PDF file is not considered as being protected (PDFIsProtected will return False).
Business / UI classification: Business Logic