This function frees the image data from the memory.

[C++Builder]     BOOL IKFreeMemory(HANDLE Handle);
[Delphi]         function IKFreeMemory(Handle: THandle): LongBool;

Parameters

Name Explanation
Handle The image handle of the image data to be freed (supports raster, vector, and Raw image data)

Return Value

Returns True if successful, returns False if not successful

Explanation

The IKFreeMemory function frees the image data from the memory. There are no constraints on the memory size that can be freed with this function. Please use it to free resources whenever image data is no longer needed. To be certain that you do not free the memory twice, be sure to set the Handle parameter to 0 after executing this function.

In Delphi:

   IKFreeMemory(Handle);

   Handle := 0;

Note: If a vector image is set in the Handle parameter, the Ik10VectCom.dll, Ik10VectComA.dll, Ik10VectCom64.dll, or Ik10VectCom64A.dll must also be used.

 

The ImageKit10 VCL is a product created by Newtone Corporation