Posted - Mar 20 2019 : 08:50:30 Ok, you should then modify the help as every example shows ImageEnView1.CurrentLayer.Shape := iesExplosion;
Best
xequte
Posted - Mar 19 2019 : 20:53:40 Hi
You need to typecast the the layer. Only TIEShapeLayer supports shapes.
e.g.
ImageEnView1.LayersAdd( ielkShape );
If ImageEnView1.CurrentLayer is TIEShapeLayer then
TIEShapeLayer( ImageEnView1.CurrentLayer ).Shape := iesExplosion;