Appends a new IEShapeLayer layer to the layers list. The new layer will become the current layer.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public int LayersAdd(
	IEShape shape,
	int posX,
	int posY,
	int width,
	int height
)
Public Function LayersAdd ( _
	shape As IEShape, _
	posX As Integer, _
	posY As Integer, _
	width As Integer, _
	height As Integer _
) As Integer
public:
int LayersAdd(
	IEShape shape, 
	int posX, 
	int posY, 
	int width, 
	int height
)

Parameters

shape
IEShape
Shape of the shape layer
posX
Int32
Horizontal position. -1 = use next available position
posY
Int32
Vertical position. -1 = use next available position
width
Int32
Layer width
height
Int32
Layer height

Return Value

Index of the added layer

See Also