DynaPDF Manual - Page 186

Previous Page 185   Index   Next Page 187

Function Reference
Page 186 of 818
ChangeSeparationColor
Syntax:
LBOOL pdfChangeSeparationColor(
const PPDF* IPDF,
// Instance pointer
UI32 CSHandle,
// Handle of the separation color space
UI32 NewColor,
// New color in the alternate color space
TExtColorSpace Alternate, // Alternate color space
SI32 AltHandle)
// Color space handle or -1 for device spaces
The function changes the color of a separation color space. The new color value must be defined in
the alternate color space. The alternate color space can be any device or ICC based color space
including Lab. If a non-device color space is used, the parameter AltHandle must be set to the color
space handle of the alternate color space.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
CheckCollection
Syntax:
LBOOL pdfCheckCollection(
const PPDF* IPDF) // Instance pointer
The function checks whether user defined data fields in embedded files are consistently defined
with collection fields. User defined collection fields can be used to provide additional information
relating to embedded files. It is also possible to use such fields to sort the list of embedded files in an
arbitrary manner. However, the data types used in the embedded file specification must correspond
to the definition in the collection.
This function is especially useful to check the integrity of the file if multiple PDF collections were
merged into one file.
See also CreateCollection(), CreateCollectionField().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
CheckConformance
Syntax:
SI32 pdfCheckConformance(
const PPDF* IPDF,
// Instance pointer
TConformanceType Type,
// PDF Version to check
TCheckOptions Options,
// various options
const void* UserData,
// User defined pointer
TOnFontNotFoundProc* OnFontNotFound,
// Font replacement callback
TOnReplaceICCProfile* OnReplaceICCProfile) // ICC profile callback
 

Previous topic: ChangeLinkAnnot, ChangeOCGName

Next topic: Notice, Important callback functions, OnFontNotFound, OnReplaceICCProfile


Start Chat