Add_AVI
MethodAdd_AVI (Method)
This method inserts an AVI file into the drawing
Syntax:
Function Add_AVI(sAVIFile As String, xMin As Single, yMin As Single, xMax As Single, yMax As Single, zOrder As Integer, vItemProperties As Object, iLayer As Short) As Integer
The Add_AVI method syntax consists of the following:
Parameter |
Data Type |
Description |
sAVIFile |
String |
The name of the AVI file. |
xMin |
Single |
The bottom-left x coordinate of the window in which the AVI appears |
yMin |
Single |
The bottom-left y coordinate of the window in which the AVI appears |
xMax |
Single |
The top-right x coordinate of the window in which the AVI appears |
yMax |
Single |
The top-right y coordinate of the window in which the AVI appears |
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 |
Return value:
Integer - An Avax handle on success, zero on error.