LayersMerge merges layer0 and layer1 into one layer. The new layer has the minor index of layer0 and layer1.

LayersMerge makes the new layer looking at Layers[].Transparency and at the bitmap’s alpha channels.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public void LayersMerge(
	int layer0,
	int layer1,
	bool removeUpperLayer
)
Public Sub LayersMerge ( _
	layer0 As Integer, _
	layer1 As Integer, _
	removeUpperLayer As Boolean _
)
public:
void LayersMerge(
	int layer0, 
	int layer1, 
	bool removeUpperLayer
)

Parameters

layer0
Int32
Index of the first layer to merge.
layer1
Int32
Index of the second layer to merge.
removeUpperLayer
Boolean
If RemoveUpperLayer is false, the upper layer will not be removed.

See Also