Add_Picture
MethodAdd_Picture (Method)
This method inserts picture file(s) (.BMP, .ICO, .GIF, and .JPG) into the drawing
Syntax:
Function Add_Picture(sPictureFiles() As String, xMin As Single, yMin As Single, xMax As Single, yMax As Single, zOrder As Integer, vItemProperties As Object, iLayer As Short, nMapMode As Integer) As Integer
The Add_Picture method syntax consists of the following:
Parameter |
Data Type |
Description |
sPictureFiles() |
String |
An array of Strings for the names of the picture files |
xMin |
Single |
The bottom-left x coordinate of the window in which all the picture files appear |
yMin |
Single |
The bottom-left y coordinate of the window in which all the picture files appear |
xMax |
Single |
The top-right x coordinate of the window in which all the picture files appear |
yMax |
Single |
The top-right y coordinate of the window in which all the picture files appear |
zOrder |
Integer |
The object's elevation in the whole drawing |
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.
Remarks:
If you add more than one picture then you will have an animation object