ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 how to copy current layer in imageenview..

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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();