SetRgnColorHSVRange example for C++Builder

   int H0;
   int S0;
   int V0;
   int H1;
   int S1;
   int V1;

   /*This example sets a region corresponding to all pure green (Hue = 85)
   and colors near green (+/- 10)
   where Saturation is at least 40 and Value is at least 40*/

   H0= 75;
   S0= 40;
   V0= 40;

   H1= 95;
   S1= 255;
   V1= 255;

   LEADImage1->SetRgnColorHSVRange ( H0, S0, V0, H1, S1, V1, L_RGN_SET ) ;
   LEADImage1->RgnFrameType= ftAnimated;