Encryption

<< Click to Display Table of Contents >>

Navigation:  PDF Export >

Encryption

Previous pageReturn to chapter overviewNext page

[VPE Professional Edition and above]

Activates or deactivates encryption for exported PDF documents.

property Encryption [integer] VPE.Encryption

read / write; runtime only

Possible values:

ActiveX / VCL

Value

Enum

Comment

DOC_ENCRYPT_NONE

0

Normal

no encryption [default]

DOC_ENCRYPT_STREAM

1

Stream

use stream encryption (compatible to Acrobat 4 and higher)

Default:

DOC_ENCRYPT_NONE

Remarks:

See EncryptionKeyLength, UserPassword, OwnerPassword and Protection for details.

 

If one and the same VPE document is exported multiple times to encrypted PDF documents, the size of the created PDF files might differ around 10 - 20 bytes. This is normal, because some encrypted characters - for example in the creation date / time string - need to be converted into a special form with additional escape characters.