getCustomColorName

Get the name of a custom color.
getCustomColorName([in] int idx, [out, retval] BSTR *name)
This function returns the name of the idx'th custom color.

Use getNumCustomColors to get the number of custom colors found by the last call to analyzePages.

VB:
' analyze page 1 pdf.analyzePages(1, 1) nColors = pdf.getNumCustomColors() For i = 0 To nColors - 1 name = pdf.getCustomColorName(i) cmyk = pdf.getCustomColorCMYK(i) nObjects = pdf.getNumCustomColorObjects(i) MsgBox(count & " nObjects drawn in the " & name & " custom color = CMYK " & Hex(cmyk)) Next i
getNumCustomColors
getCustomColorCMYK
getNumCustomColorObjects