Encrypting PDF properties
The following are properties to encrypt the PDF format file:
- jrs.pdf_encrypt
Constant: jet.cs.util.APIConst.TAG_PDF_ENCRYPT
Description: Specifies whether to enable PDF encryption.
Possible values: {true, false}
- jrs.pdf_compatibitly
Constant: jet.cs.util.APIConst.TAG_PDF_COMPATIBITLY
Description: Specifies the encryption type to encrypt a PDF document.
Possible values: {0, 1}. 0 - Acrobat 3.0 and later, 1 - Acrobat 5.0 and later.
- jrs.password_pdf
Constant: jet.cs.util.APIConst.TAG_PASSWORD_PDF
Description: Specifies the password to open the PDF document.
- jrs.has_pdf_permis_pasw
Constant: jet.cs.util.APIConst.TAG_HAS_PDF_PERMIS_PASW
Description: Specifies
whether to use a permission password to prevent others from printing and editing the document.
Possible values: {true, false}
- jrs.pdf_permis_pasw
Constant: jet.cs.util.APIConst.TAG_PDF_PERMIS_PASW
Description: Specifies the permission password.
- jrs.pdf_printallow
Constant: jet.cs.util.APIConst.TAG_PDF_PRINTALLOW
Description: Specifies the printing quality for the PDF document.
Possible values: {0, 1, 2}. 0 - none, 1 - low resolution (150 dpi), 2 - high resolution.
- jrs.pdf_changallow
Constant: jet.cs.util.APIConst.TAG_PDF_CHANGALLOW
Description: Specifies the editing actions that are permitted in the PDF file.
Possible values: {0, 1, 2, 3, 4}. 0 - none. 1 - inserting, deleting and rotating pages, 2 - filling in form fields and signing, 3 - commenting filling in form fields and signing, 4 - any except extracting pages.
- jrs.pdf_enablecopy
Constant: jet.cs.util.APIConst.TAG_PDF_CHECK_ENABLECOPY
Description: Specifies whether to enable selecting and copying the contents of the PDF document.
Possible values: {true, false}
- jrs.pdf_enableaccess
Constant: jet.cs.util.APIConst.TAG_PDF_CHECK_ENABLEACCESS
Description: Specifies whether to allow visually impaired users to read the PDF document with window readers. This property is available only if the encryption type is set to Acrobat 5.0 or later Acrobat version.
Possible values: {true, false}