<< Click to Display Table of Contents >> VpeSetPDFVersion |
![]() ![]() ![]() |
Sets the current version compatibility for exported PDF documents.
void VpeSetPDFVersion(
VpeHandle hDoc,
long version
)
VpeHandle hDoc
Document Handle
long version
possible values are:
Constant Name |
Value |
Comment |
VPE_PDF_ACROBAT_4 |
1300 |
PDF Version 1.3 |
VPE_PDF_ACROBAT_5 |
1400 |
PDF Version 1.4 |
Default:
VPE_PDF_ACROBAT_4
Remarks:
The version compatibility is especially important for the encryption key length (see VpeSetEncryption). When you change this property, the encryption key length is set automatically to 40-bits for VPE_PDF_ACROBAT_4 and to 128-bits for VPE_PDF_ACROBAT_5.
Huge documents with Adobe Acrobat 4.0:
When viewing documents with a large number of pages, all pages after page number 34465 are not displayed and an error is reported. The critical page number may alter, depending on the number of other objects in the document.
In order to have documents correctly displayed in Adobe Acrobat 4.0, always keep the number of pages below 8000