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
 add new layer from variable number of layer

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
klausdoege Posted - Dec 02 2019 : 07:54:15
Hi,
does anyone know how I can reduce a
variable number of layer to a new layer above?
An example would be helpful.



Klaus
www.klausdoege.de
4   L A T E S T    R E P L I E S    (Newest First)
klausdoege Posted - Dec 07 2019 : 05:53:33
Hi Nigel,
thank you.
TImageEnView.LayersSaveMergedTo
is a good solution for my action.


Klaus
www.klausdoege.de
xequte Posted - Dec 03 2019 : 14:07:01
Hi Klaus

So merge the layers into a new layer, but then not remove them?

I'm not sure we have a method for that at present. You might need to clone the layers and then do it.

Nigel
Xequte Software
www.imageen.com
klausdoege Posted - Dec 03 2019 : 06:29:49
Hi Nigel,
i now this procedure.
procedure LayersMerge(LayerList: array of integer); overload;
Description:
LayerList: An array of layer indexes to remove. The array must be ordered and all layers will be merged into the layer specified by the first index. Empty list means "all layers".

But I do not want to remove layers, just merge all existing layers and expand as a new layer.
Can you give me an example with source code for it?

Klaus
www.klausdoege.de
xequte Posted - Dec 02 2019 : 13:19:43
Hi Klaus

One of the LayersMerge overrides takes an array of layer indexes:

https://www.imageen.com/help/TImageEnView.LayersMerge.html

Nigel
Xequte Software
www.imageen.com