// Find minimum and maximum point of the image ImageEnView1.IEBitmap.GetIEVisionImage().minMax( minVal, maxVal, minLoc, maxLoc ); ShowMessage( Format( 'Min: %d at %d,%d. Max: %d at %d,%d', [ Round(minVal), minLoc.x, minLoc.y, Round(maxVal), maxLoc.x, maxLoc.y ]));