Add_TextFile
MethodAdd_TextFile (Method)
Adds a text File into the drawing
Syntax:
Function Add_TextFile(sTextFile As String, x As Single, y As Single, z As Single, sScale As Single, TStyle As Short, sAngle As Single, vItemProperties As Object, iClr As Short, iWidth As Short, iStyle As Short, iLayer As Short) As Integer
The Add_TextFile method syntax consists of the following:
Parameter |
Data Type |
Description |
sTextFile |
String |
The name of the text file |
x |
Single |
The x coordinate of the text's first character bottom left point |
y |
Single |
The y coordinate of the text's first character bottom left point |
z |
Single |
The z coordinate of the text's first character bottom left point |
sScale |
Single |
The text scale factor |
TStyle |
Short |
The font index number |
sAngle |
Single |
The angle of the text |
vItemProperties |
Object |
A string array of properties for the new object |
iClr |
Short |
The color index number |
iWidth |
Short |
The pen width |
iStyle |
Short |
The line type |
iLayer |
Short |
The layer number |
Return value:
Integer - An Avax handle on success, zero on error.