Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

WinPDF.IsPasswordProtected

Whether this document is password-protected.

Component Version macOS Windows Linux Server iOS SDK
WinPDF 13.2 ❌ No ✅ Yes ❌ No ✅ Yes, on Windows ❌ No
MBS( "WinPDF.IsPasswordProtected"; PDFRef )   More

Parameters

Parameter Description Example
PDFRef The reference number for the PDF document. $PDF

Result

Returns 1, 0 or error.

Description

Whether this document is password-protected.
Returns 1 if the Portable Document Format (PDF) document is password-protected; otherwise, 0.

Examples

Query password status:

Set Variable [ $IsPasswordProtected ; Value: MBS( "WinPDF.IsPasswordProtected"; $pdf) ]

Blog Entries

This function checks for a license.

Created 8th March 2023, last changed 16th April 2023


WinPDF.GeneratePreview - WinPDF.List