|
Add_TextFile (Method)
This function 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
|
Is the name of the text file
|
x
|
Single
|
Is the x coordinate of the text's first character bottom left point
|
y
|
Single
|
Is the y coordinate of the text's first character bottom left point
|
z
|
Single
|
Is the z coordinate of the text's first character bottom left point
|
sScale
|
Single
|
Is the font scale factor
|
TStyle
|
Short
|
Is the font index number
|
sAngle
|
Single
|
Is the angle of the text
|
vItemProperties
|
Object
|
Is a string array with properties for the new object
|
iClr
|
Short
|
Is the color index number
|
iWidth
|
Short
|
Is the pen width
|
iStyle
|
Short
|
Is the line type
|
iLayer
|
Short
|
Is the layer number
|
Return value:
Integer - An Avax handle on success, zero on error.
Example
|