ImageEn, unit ievect

TImageEnVect.GetIndexFromObj

TImageEnVect.GetIndexFromObj


Declaration

function GetIndexFromObj(hobj: integer): integer;


Description

Returns the object's z-index from the object handle, where 0 is the object closest to the background, 1 is the object in front of that, 2 the next, etc.

This is the inverse of GetObjFromIndex.