clearDeviceNImage

Free memory used by a DeviceN image.
clearDeviceNImage()
This function frees the memory used by the last call to convertPageToDeviceNImage.

Only one DeviceN rasterization (per PDF handle) is held in memory at a time. If you call convertPageToDeviceNImage again, the memory used by the previous call to convertPageToDeviceNImage will be automatically freed.

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
getDeviceNPicture