When I load ImageX(Layer 0) and then build a Select in code followed by calling 
ImageEnView1.Proc.CastColorRange(iMinColor, iMaxColor, FloodColor);
First time call the Flood Fill Color Cast leaks outside of the select area.
Reloading ImageX again and Building the Select in code a second time, then the Flood Fill Color Cast stays within the select area - it is as if something is not fully initialized.
Please advise how to resolve - thanks.
// COLOUR CAST
    if Length(SelectArray1) > 0 then begin
      ImageEnView1.LayersCurrent:= 0;
      ImageEnView1.Deselect();
      ImageEnView1.Update();
      for i:= 0 to Length(SelectArray1)-1 do begin
        ImageEnView1.AddSelPoint(SelectArray1[i].X, SelectArray1[i].Y);
      end; // for
      ImageEnView1.EndSelect();
      ImageEnView1.Update();
      ImageEnView1.Proc.CastColorRange(iMinColor, iMaxColor, FloodColour);      
      ImageEnView1.Update();
    end;
Andy