DynaPDF Manual - Page 219
Previous Page 218 Index Next Page 220
Function Reference
Page 219 of 839
The input mask for the key lengths kl128bit (Acrobat 5) and kl128bitEx (Acrobat 6) look nearly
identically. However, only the latter one supports the additional flag rsExludeMetaData.
The first combo box at "Printing Allowed" contains now three choice values which sets the following
flags:
• None:
rsPrint
• Low Resolution (150 DPI): rsPrintHighRes
• High Resolution:
No additional flags!
The second combo box at "Changes Allowed" sets the following flags:
• None:
rsModify + rsAddObj + rsFillInFormFields + rsAssemble
• Inserting, deleting, and…: rsModify + rsAddObj + rsFillInFormFields
• Filling in form field…:
rsModify + rsAddObj
• Commenting, filling in…: rsModify
• Any except extracting…: No additional flags!
The check box "Enable copying of text, images, and other…" sets the flag rsCopyObj, if unchecked!
The check box "Enable text access for screen readers…" sets the flag rsExtractObj, if unchecked!
The key lengths klAES128 and klAES256 support also the flag rsEmbFiles only. If this flag is set all
other flags are ignored becaus the PDF file is left unencrypted in this case (with exception of
embedded files).
Remarks:
Due to a bug in Acrobat 6 the permission rsPrintHighRes is not displayed in the security settings but
it is still applied.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
Previous topic: Password encodings, UTF-8 Passwords, Encryption flags
Next topic: CloseImage, CloseImportFile, CloseImportFileEx