MasterPassword

Applies to

PDFSecurity object

Description

Gets or sets the master password of the PDF document.

Datatype

String.

Usage

The master password is also referred to as an permissions password that enables you to restrict the permissions (copy/print/modify/etc.) to the PDF document.

In scripts

This example sets the master password for the PDFSecurity object lpdf_security:

PDFDocument lpdf_doc
PDFSecurity lpdf_security

lpdf_doc = Create PDFDocument

lpdf_security = lpdf_doc.security
lpdf_security.masterpassword = "appeon"