convertPageToDeviceNImage

Convert a page to a DeviceN image.
convertPageToDeviceNImage([in] int page, [in] double dpi)
This function rasterizes a page in DeviceN mode, i.e., with separate color channels for each process color (cyan, magenta, yellow, and black), and for each custom (a.k.a., spot) color.

After calling convertPageToDeviceNImage:

Finally, call clearDeviceNImage to release the memory used by convertPageToDeviceNImage.

To enable an overprint preview rasterization, call setConfig to set the overprintPreview parameter before calling convertPageToDeviceNImage:

pdf.setConfig "overprintPreview yes"
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
convertRegionToDeviceNImage
getNumDeviceNChannels
getDeviceNChannelName
getDeviceNChannelCMYK
getDeviceNPicture
clearDeviceNImage