<< Click to Display Table of Contents >> PDFALevel |
[VPE Professional Edition and above]
VPE supports the export to the PDF/A format for long-term archival, according to ISO standard ISO 19005-1:2005, PDF/A-1b.
property PDFALevel [long] VPE. PDFALevel
write; runtime only
Possible values:
ActiveX / VCL |
Value |
Enum |
Comment |
VPE_PDF_A_LEVEL_NONE |
0 |
LevelNone |
No PDF/A document is created. [default] |
VPE_PDF_A_LEVEL_1B |
1 |
Level1B |
A PDF/A-1b document shall be created. |
Default:
VPE_PDF_A_LEVEL_NONE
Remarks:
The PDF/A standard enforces several other document properties. When you set this property to VPE_PDF_A_LEVEL_1B, VPE sets the following properties automatically:
PDFVersion = VPE_PDF_ACROBAT_5
FastWebView = false
EmbedAllFonts = true
SubsetAllFonts = true
Encryption = DOC_ENCRYPT_NONE
By default, font subsetting is enabled. If you disable it, and you are using symbolic fonts, like Windings or Webdings, you must enable subsetting at least for those fonts (see SetFontControl), because the PDF/A standard requires that symbolic fonts only contain one CMAP table. But the fonts come in regular with multiple CMAP tables. The font subsetter of VPE strips the unwanted CMAP tables.
Furthermore you need to add a Color Profile to the PDF document, see the method AddColorProfile().
Example:
Doc.PDFALevel = VPE_PDF_A_LEVEL_1B
Doc.AddColorProfile(
"GTS_PDFA1",
"sRGB_IEC61966-2-1",
"Custom",
"http://www.color.org",
"sRGB_IEC61966-2-1",
"sRGB_IEC61966-2-1")
Doc.WriteDoc("test.pdf")