Merges Layer1 and Layer2 into a IEImage object.

The new bitmap will inherit the Layers[].Transparency and alpha channels.

The resulting image will always be 24 bit (RGB24).

Notes:

- If either layer is not a IEImageLayer, it will be converted to a IEImageLayer

- LayersMergeTo can merge a layer with its own layer mask (to create a layer with the transparency of the mask).

- LayersMergeFilter will specify the quality of image layers, if they do not have a custom UseResampleFilter

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public void LayersMergeTo(
	int layer1,
	int layer2,
	IEImage destination
)
Public Sub LayersMergeTo ( _
	layer1 As Integer, _
	layer2 As Integer, _
	destination As IEImage _
)
public:
void LayersMergeTo(
	int layer1, 
	int layer2, 
	IEImage^ destination
)

Parameters

layer1
Int32
Index of the first layer to merge
layer2
Int32
Index of the second layer to merge
destination
IEImage
Destination image

See Also