Appends a new IETextLayer 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(
	string text,
	int fontSize,
	IERGB fontColor,
	string fontName,
	int posX,
	int posY
)
Public Function LayersAdd ( _
	text As String, _
	fontSize As Integer, _
	fontColor As IERGB, _
	fontName As String, _
	posX As Integer, _
	posY As Integer _
) As Integer
public:
int LayersAdd(
	String^ text, 
	int fontSize, 
	IERGB fontColor, 
	String^ fontName, 
	int posX, 
	int posY
)

Parameters

text
String
Text content
fontSize
Int32
Font size
fontColor
IERGB
Font color
fontName
String
Font name
posX
Int32
Horizontal position. -1 = use next available position
posY
Int32
Vertical position. -1 = use next available position

Return Value

Index of the added layer

See Also