This is easy:
procedure Tfmain.ImageEnView1NewLayer(Sender: TObject; LayerIdx: Integer; LayerKind: TIELayerKind);
begin
ImageEnView1.Layers[LayerIdx].Selected := False;
end;
Is it possible to restrict the number of points when drawing a Freehand Line in this way? For example, define the minimum distance as a number of pixels between two adjacent points?