Add_PCX
MethodAdd_PCX (Method)
This method inserts a PCX file into the drawing
Syntax:
Function Add_PCX(sPCXFile As String, x As Single, y As Single, zOrder As Integer, vItemProperties As Object, iLayer As Short, nMapMode As Integer) As Integer
The Add_PCX method syntax consists of the following:
Parameter |
Data Type |
Description |
sPCXFile |
String |
The name of the PCX file |
x |
Single |
The x coordinate of the insertion point |
y |
Single |
The y coordinate of the insertion point |
zOrder |
Integer |
The object's elevation in the whole drawing is defined by the parameter zOrder |
vItemProperties |
Object |
A string array of properties for the new object |
iLayer |
Short |
The layer number |
nMapMode |
Integer |
The API map mode |
Return value:
Integer - An Avax handle on success, zero on error.