Enabling encryption, e-mail, view, print, and watermark PDF Options

Top  Previous  Next

You can create a DWORD value in the registry at any of the standard registry locations to control actions to be taken after the document is created.  The value is named "file options", and its value can be a combination of the following values:

                     

Action

value


Send email

0x01


View PDF

0x02


Send to palm

0x04


Set 40 bit encryption

0x08

(Win2PDF Pro)

Set 128 bit encryption

0x10

(Win2PDF Pro)

Enable URL detection

0x20


Delete email

0x40


Print PDF

0x80


Apply foreground watermark

0x200  

(Win2PDF Pro)

Send email - no user interaction

0x400

(requires Win2PDF Mail Helper application)

Apply background watermark

0x800

(Win2PDF Pro)

 

The values can be added together, so if you wanted to send e-mail, enable URL detection, and delete the file after sending you would set "file options" to 0x61 hexadecimal.  The 40 and 128 bit encryption options are only valid for Win2PDF Pro.  All values are deleted after each document is created unless the "persistent" registry value is set.