Hi Klaus
In 10.1.1 you can use:
// Add a soft shadow to the current layer angled toward the bottom-right
ImageEnView1.CurrentLayer.SoftShadow.SetByAngleAndDist( -45, 5 );
ImageEnView1.CurrentLayer.SoftShadow.Enabled := True;
ImageEnView1.Update;
// Display the current soft offset values
ImageEnView1.CurrentLayer.SoftShadow.GetAngleAndDist( ang, dist );
UpDown1.Value := ang;
UpDown2.Value := dist;
Nigel
Xequte Software
www.imageen.com