getDeviceNPicture

Get a Picture object for one DeviceN color channel.
getDeviceNPicture([in] int channelIdx, [out, retval] IUnknown **pic)
This function retrieves the Picture object (OLE IPicture interface) for the specified channel generated by the last call to convertPageToDeviceNImage.

The Picture will be an 8-bit grayscale bitmap, indicating the level of the specific colorant at each pixel.

The channel bitmaps returned by getDeviceNPicture will all have the same width and height.

VB6:
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
getDeviceNChannelCMYK
clearDeviceNImage