Omnis PDF Device.$setpdfversion()

Function group Execute on client Platform(s)
Omnis PDF Device NO All

Syntax

Omnis PDF Device.$setpdfversion(iPdfVersion=kDevOmnisPDFVersion13)

Omnis PDF Device.$setpdfversion(iPdfVersion=kDevOmnisPDFVersion17)

Description

Sets PDF version which also affects encryption, use kDevOmnisPDFVersion... constant.

Constant Description
kDevOmnisPDFVersion13 Version 1.3, 40-bit RC4 encryption
kDevOmnisPDFVersion14 Version 1.4, 128-bit RC4 encryption
kDevOmnisPDFVersion15 Version 1.5, 128-bit RC4 encryption
kDevOmnisPDFVersion16 Version 1.6, 128-bit AES encryption
kDevOmnisPDFVersion17 Version 1.7, 128-bit AES encryption
kDevOmnisPDFVersion17ext3 Version 1.7 ExtensionLevel 3, 256-bit AES encryption

The default is kDevOmnisPDFVersion13 which specifies 40-bit RC4 encryption.

The default is kDevOmnisPDFVersion17 which specifies 128-bit AES encryption.

When setting the PDF/A subset using the $setpdfsubset function, PDF/A-1 requires a PDF version of 1.4 (kDevOmnisPDFVersion14), while PDF version 1.7 will work with PDF subset 2 and 3 and UA since they are all based on PDF 1.7.