This method makes an identical copy of a raster image or a vector image in the memory
[Visual Basic]   [ LONG_PTR = ]imagekitcontrolname.CopyImage (ImageHandle As LONG_PTR)
[Visual C++]     [ LONG_PTR = ]imagekitcontrolname.CopyImage(LONG_PTR ImageHandle)
[VB.NET]   [ Integer(x86) or Long(x64) = ]imagekitcontrolname.CopyImage (ImageHandle As Integer(x86) or Long(x64))
[C#.NET]   [ int(x86) or long(x64) = ]imagekitcontrolname.CopyImage ( int(x86) or long(x64) ImageHandle)

* (x86) refers to the 32 bit version, (x64) refers to the 64 bit version.

Parameters

Name Explanation
ImageHandle The image handle of the image to be copied

Return Value

Returns a new image handle if successful, otherwise returns 0.

Explanation

When the ImageHandle parameter contains a valid image handle
The image data that the ImageHandle parameter refers to will be processed.


When the ImageHandle parameter contains 0
The image data determined by the LayerNo property will be processed. If the LayerNo property is -1 (the base image) then the image data referred to by the ImageHandle property will be processed. If the value of the LayerNo property is between 0 and 99 then the image data referred to by the Layer(LayerNo).ImageHandle property will be processed.

1, 4, 8, 16, 24, 32, and 48 bit raster images are supported. 48 bit images are used if the Scan device context retrieves 36, 42, or 48 bit color image.

Differences from ImageKit7/8

  This method's arguments and return value have changed

 

The ImageKit10 ActiveX is a product created by Newtone Corporation