Hi Nigel
The code was adjusted, but the effect remained.
with IEV_Load do begin
LayersAdd( ielkImage,500, 500, 250, 2500 );
IO.LoadFromFileAuto(ImageEnMView.SelectedFilename);
with CurrentLayer do begin
BorderColor := clBlack;
BorderWidth := 0;
Cropped := true;
end;
Soft_Shadow(CurrentLayer,40);
Update();
end;
procedure Soft_Shadow(o_pCL:TIELayer;n_pR:Integer);
begin
with o_pCL.SoftShadow do begin
Enabled := True;
OffsetX := 0;
OffsetY := 0;
ShadowColor := TColor2TRGB( clWhite );
Radius := n_pR;
end;
end;
Rudolf