Appends a new layer and creates a bitmap of specified width, height and pixel format.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public int LayersAdd(
	int width,
	int height,
	IEImage..::..PixelFormat pixelFormat
)
Public Function LayersAdd ( _
	width As Integer, _
	height As Integer, _
	pixelFormat As IEImage..::..PixelFormat _
) As Integer
public:
int LayersAdd(
	int width, 
	int height, 
	IEImage..::..PixelFormat pixelFormat
)

Parameters

width
Int32
New bitmap width in pixels.
height
Int32
New bitmap height in pixels.
pixelFormat
IEImage..::..PixelFormat
New bitmap pixel format.

Return Value

Returns index of the added layer.

See Also