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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Deselect all layers
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

exchangeviews

India
39 Posts

Posted - Jul 01 2013 :  08:34:39  Show Profile  Reply
How to deselect all layers because when i select any image from imageenMVieew to assign into imageenView, it loads the image into selected layers instead of imageenView background.

ImageEnView1.Assign(ImageEnMView1.Bitmap);

Please see image. Thanks in advance.



w2m

USA
1990 Posts

Posted - Jul 01 2013 :  11:26:16  Show Profile  Reply
Set the ImageEnView1.LayersCurrent := 0 before assigning the image to load the image into the background layer or layer 0:
ImageEnView1.LayersCurrent := 0;
ImageEnView1.Assign(ImageEnMView1.Bitmap);
ImageEnView1.Update;

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page

exchangeviews

India
39 Posts

Posted - Jul 04 2013 :  22:25:24  Show Profile  Reply
It worked. Thanks again.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: