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
 [ImageEn] Layers versus Navigator

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
Dmitri Posted - Sep 12 2011 : 04:09:21
I've got some problems on displaying layered images in a TImageEn Navigator.

I've got two TImageEnView components on a form. One of the two components is set as a Navigator using the following code:
ImageEnView1->SetNavigator(ImageEnView2, TIENavigatorOptions);

The basic component is using layers. The problem is that the layers are not shown in the Navigator. Only the first layer is visible. Is there a solution for this?

I'm using C++ Builder XE, Windows Vista and ImageEn 3.0.0.

Thank you in advance for your response.
2   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Sep 12 2011 : 06:10:53
There are no built-in procedures to show all layers with Navigator that I am aware of. You can however show all layers by saving the layers as a stream in the main ImageENView then load the stream into a second ImageEnView. Unfortunately you loose the navigator selection when you do this but I suspect you could show the the navigator selection in this code afterwards:

ms := TMemoryStream.Create;
  try
    ImageENView2.LayersSaveToStream( ms );
    ms.Position := 0;
    ImageEnView1.LayersLoadFromStream( ms );
    ImageEnView1.LayersMergeAll;
    // create the navigator selection here...
    ImageEnView1.Update;
  finally
    ms.Free;
  end;


When using this code do not call ImageEnView1->SetNavigator or you will have problems.

William Miller
klausdoege Posted - Sep 12 2011 : 05:00:03
I have the same problem.
I have found no solution until now.

Klaus