pdfSetConvertCustomColors

Enable/disable conversion of custom colors to CMYK.
void pdfSetConvertCustomColors(PDFHandle pdf, int cvt)
This function enables (cvt = 1) or disables (cvt = 0) conversion of custom colors to CMYK for the purpose of computing all statistics.

By default, custom (spot) colors are counted separately from process colors. Instead, they can be converted to process colors, by setting this flag.

The default value is disabled.

C:
/* enable conversion of custom colors to CMYK */ pdfSetConvertCustomColors(pdf, 1);