This function makes an identical copy of a raster or vector image in the memory into another memory.

[C++Builder/Visual C++]     HANDLE IKCopyImage(HANDLE Handle);
[Delphi]         function IKCopyImage(Handle: THandle): THandle;
[Visual Basic]   Function IKCopyImage(ByVal Handle As Long) As Long

Parameters

Name Explanation
Handle The image handle of the image data to be copied (For raster images, supports 1, 4, 8, 16, 24, 32, or 48 bit image)

Return Value

If successful, this function returns the image handle of the new (copied) raster image or vector image otherwise it returns 0

Explanation

The IKCopyImage function makes an identical copy of a raster or vector image in the memory into another memory. After this function is executed, the original image remains in the memory. Note: 48-bit color image is used when a 36, 42, or 48 bit color image is retrieved from a scan device using Ik8Scan.dll, Ik8ScanA.dll, Ik8Scan64.dll, or Ik8Scan64A.dll and copied.

Note: If a vector image is set in the Handle parameter, the Ik8VectCom.dll, Ik8VectComA.dll, Ik8VectCom64.dll, or Ik8VectCom64A.dll must also be used.

The differences from the ImageKit6:

The UserProc, Caption, Message, and Button parameters have been deleted.

 

The ImageKit8 ActiveX is a product created by Newtone Corporation