This function frees the image data from the memory.
[C++Builder/Visual
C++] BOOL IKFreeMemory(HANDLE
Handle);
[Delphi] function
IKFreeMemory(Handle: THandle): LongBool;
[Visual Basic] Function
IKFreeMemory(ByVal Handle As Long) As Long
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 (nonzero) if successful, returns False (0) 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 Visual Basic:
IKFreeMemory(Handle)
Handle = 0
Note: If a vector image is set in the Handle parameter, the Ik9VectCom.dll, Ik9VectComA.dll, Ik9VectCom64.dll, or Ik9VectCom64A.dll must also be used.