LayersAdd appends a new layer in the layers list. The layer becomes the current layer, assumes the size of others and the pixel format of the last layer.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public int LayersAdd(
	IELayerKind kind
)
Public Function LayersAdd ( _
	kind As IELayerKind _
) As Integer
public:
int LayersAdd(
	IELayerKind kind
)

Parameters

kind
IELayerKind
Specifies the kind of the new layer

Return Value

Returns index of the added layer.

See Also