GetObjectInfo example for C++ Builder
void __fastcall TForm1::Button1Click(TObject *Sender)
{
L_UINT uX, uY, uRound;
L_INT nAngle;
/* Load a bitmap at its own bits per pixel */
LEADImage1->Load("image3.cmp", 0, 1, 1 );
/* Get the objects center of mass and it's roundness. */
L_INT nRet = LEADImage1->GetObjectInfo( FALSE, uX, uY, nAngle, uRound);
if ( nRet == SUCCESS )
ShowMessage ( "object's center mass is at = (" + IntToStr(uX/100) + " , " + IntToStr(uY/100) + ")");
}