getDeviceNChannelName

Get the name of a DeviceN color channel.
getDeviceNChannelName([in] int channelIdx, [out, retval] BSTR *name)
This function returns the name of the specified channel generated by the last call to convertPageToDeviceNImage.

The first four channel names will always be "Cyan", "Magenta", "Yellow", and "Black". Additional channels will be custom (spot) colors used on the page.

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
getDeviceNChannelCMYK
getDeviceNPicture
clearDeviceNImage