Xojo Conferences
XDCMay2019MiamiUSA
MBSOct2019CologneDE

DynaPDF Manual - Page 173

Previous Page 172   Index   Next Page 174

Function Reference
Page 173 of 766
OnReplaceICCProfile
The OnReplaceICCProfile callback function is optional too, but strongly required! The callback
function is called whenever a device color space is used and if no corresponding output intent or
default ICC based color space is available. It is also called if an embedded ICC profile must be
replaced due to damages or if an unsupported profile version is used.
The conversion capabilities are very limited if this callback function is not set! If you get an error like
" File uses multiple device color spaces!" then please set this callback function so that ICC profiles
can be loaded if necessary.
PDF/A 1b:
When creating new PDF/A 1a or PDF/A 1b files, the following features are prohibited:
The fill or stroke alpha constant in an extended graphics state must be 1.0 if present (see
CreateExtGState()).
Transparency groups, blend modes, as well as alpha channels in images.
Layers (CreateOCG(), CreateOCMD() and all related functions).
Annotations which are not defined in PDF 1.4. Highlight annotations cannot be used since
these annotations require the blend mode Multiply.
Form fields (form fields will be flattened if present). Note that check boxes use the font
ZapfDingbats which is mostly not present on a Windows system.
Embedded ICC profiles with a major version higher than 2. Version 4 profiles cannot be used
in PDF/A 1 files.
PDF/A files cannot be encrypted. The usage of CloseFileEx() or CloseAndSignFileEx() is not
allowed.
All features which are not defined in PDF 1.4.
PDF/A 2b or 3b
PDF/A 2b or 3b based on PDF 1.7 and hence support more features like transparency or optional
content (layers). The only difference between PDF/A 2b and 3b is that the latter version supports also
embedded files. The following restrictions must be considered:
Annotations which are not defined in PDF 1.7.
Form fields (form fields will be flattened if present).
Overprinting is permitted but the overprinting mode cannot be set to 1 if an ICCBased
CMYK color space is used. Due to implicit color conversion rules this applies also to
DeviceCMYK.
Application events are prohibited in PDF/A 2 and 3 (see AddOCGToAppEvent() for further
information).
 

Previous topic: OnFontNotFound

Next topic: General requirements: