|
Add_PCX (Method)
This function 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
|
Is the name of the PCX file
|
x
|
Single
|
Is the x coordinate of the insertion point
|
y
|
Single
|
Is the y coordinate of the insertion point
|
zOrder
|
Integer
|
Is the objects elevation in the whole drawing is defined by the parameter zOrder
|
vItemProperties
|
Object
|
Is a string array with properties for the new objects
|
iLayer
|
Short
|
Is the layer number
|
nMapMode
|
Integer
|
Is the API's mapmode
|
Return value:
Integer - An Avax handle on success, zero on error.
Example
|