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
Name and path of the PDF file to be analyzed.
Only the password required to open the file is taken into account. If the PDF file only requires a password to change the protection settings, it is not considered as protected (PDFIsProtected will return False).
Business / UI classification: Business Logic