SampleTarget example for C++ Builder
void __fastcall TForm1::SampleTargetClick(TObject *Sender) { LEADImage1->SampleTarget( RGB(50, 100, 150), RGB(60, 90 , 150), SAMP_RED | SAMP_MID ); }