Inserts a new text layer into the layers list at the specified position. The new layer will become the current layer.
Namespace: HiComponents.IEvolutionAssembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public void LayersInsert( int position, string text, int fontSize, IERGB fontColor, string fontName, int posX, int posY )
Public Sub LayersInsert ( _ position As Integer, _ text As String, _ fontSize As Integer, _ fontColor As IERGB, _ fontName As String, _ posX As Integer, _ posY As Integer _ )
public: void LayersInsert( int position, String^ text, int fontSize, IERGB fontColor, String^ fontName, int posX, int posY )
Parameters
- position
- Int32
The inserting position
- 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