×
Menu
Index

Permission

 
 
  • Permission( level ) => defines permission levels for PDF Reader.
 
Level (numeric) : defines the level of permissions for the user, valid values are :
 
value                                description
   0        ENABLE READ        user can read the document.
   4        ENABLE PRINT        user can print the document.
   8        ENABLE EDIT_ALL        user can edit the contents of the document other than annotations, form fields.
 16        ENABLE COPY        user can copy the text and the graphics of the document.
 32        ENABLE EDIT        user can add or modify the annotations and form fields of the document.
 
 
Different values can be combined by adding values, oPdf:Permission( 4+8+16+32 ) will give full permission to the user, and is the default.
 
 
This method can be called anywhere between Create() and EndDoc() calls, but it MUST be called before calling the Password method.