PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
PDFIsProtected (Function)
In French: PDFEstProtégé
Checks whether the PDF file requires a password in order to be read.
Example
// Checks whether the PDF file is protected
IF PDFIsProtected("C:\Temp\MyDocument.pdf") = True THEN
        Info("Password protected PDF file")
END
Syntax
<Result> = PDFIsProtected(<Name of PDF File>)
<Result>: Boolean
  • True if a password is required to open the PDF file,
  • False otherwise.
<Name of PDF File>: Character string (with quotes)
Name and path of PDF file to study.
Remarks
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).
Components
WINDEVWEBDEV - Server codeReports and Queries wd230img.dll
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment