hmCal_DELETE OFFSCREEN AREA
hmCal_DELETE OFFSCREEN AREA(area)
Parameter Type Description
area Longint -> hmCal area
With the command hmCal_DELETE OFFSCREEN AREA you delete an area in the memory, which was created by hmCal_New Offscreen Area. You must delete the area after the execution of hmCal_New Offscreen Area if the area is no longer needed.
The following example provides a hmCal area, makes a picture from it and deletes this again.
C_LONGINT($vl_area;$vl_error)
$vl_area:=hmCal_New Offscreen Area (700;1000)
$vl_error:=hmCal_Area To Picture ($vl_area;"";1)
hmCal_DELETE OFFSCREEN AREA ($vl_area)