DynaPDF Manual - Page 211

Previous Page 210   Index   Next Page 212

Function Reference
Page 211 of 818
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
Low Resolution (150 DPI): rsPrintHighRes
High Resolution:
No additional flags!
The second combo box at "Changes Allowed" sets the following flags:
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).
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

Start Chat