Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

PDFKit.isEncrypted

Returns a Boolean value specifying whether the document is encrypted.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PDFKit 2.9 Yes No Yes, macOS only No Yes

MBS( "PDFKit.isEncrypted"; PDF )

Parameters

Parameter Description Example value
PDF A container value with the PDF content from a media field. Or a text with an URL. Or a PDF reference from PDFKit.Open.

Result

Returns 1 if encrypted.

Description

Returns a Boolean value specifying whether the document is encrypted.
If encrypted, reading the document requires a password.
Encrypted documents whose password is the empty string are unlocked automatically upon opening, because PDF Kit tries the empty string as a password if none is supplied.

See also


PDFKit.allowsPrinting   -   PDFKit.isLocked

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins