getDeviceNChannelCMYK

Get the CMYK color of a DeviceN color channel.
getDeviceNChannelCMYK([in] int channelIdx, [out, retval] DWORD *cmyk)
This function returns the CMYK value for the specified channel generated by the last call to convertPageToDeviceNImage.

The returned value is a 32-bit integer, with one byte per CMYK component: 0xCCMMYYKK.

VB:
rast.convertPageToDeviceNImage(page, dpi) nChannels = rast.getNumDeviceNChannels() For i = 0 To nChannels-1 channelName = rast.getDeviceNChannelName(i) channelCMYK = rast.getDeviceNChannelCMYK(i) pic = rast.getDeviceNPicture(i) ' each channel has an 8-bit grayscale bitmap, similar to what ' is returned by convertPageToPicture in imageGray mode ... Next i rast.clearDeviceNImage()
convertPageToDeviceNImage
getNumDeviceNChannels
getDeviceNChannelName
getDeviceNPicture
clearDeviceNImage