Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
murod
Posted - Mar 07 2012 : 20:56:09 hi.. .. please ... how to copy current layer in imageenview...
3 L A T E S T R E P L I E S (Newest First)
fab
Posted - Mar 08 2012 : 08:06:47 It is the same. Following code copies layer 0 bitmap to layer 1:
with ImageEnView1 do
begin
Layers[1].Bitmap.Assign( Layers0].Bitmap );
Update();
end;
murod
Posted - Mar 08 2012 : 07:54:12 i mean copying a layer in imageenview1 to imageenview1... for example i have masked layer and i use it in some parts of main image in imageenview1 .... and i want copy this layer for using...
fab
Posted - Mar 07 2012 : 23:32:54 Hi, do you mean to copy a layer in one TImageEnView to another TImageEnView? This copies current layer to layer 0 of ImageEnView2: ImageEnView2.IEBitmap.Assign( ImageEnView1.CurrentLayer.Bitmap ); ImageEnView2.Update();