Add_WMF
MethodAdd_WMF (Method)
This method inserts windows metafile(s).WMF into the drawing
Syntax:
Function Add_WMF(sWinMetaFiles() 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_WMF method syntax consists of the following:
Parameter |
Data Type |
Description |
sWinMetaFiles() |
String |
An array of Strings for the names of the WMF files |
xMin |
Single |
The bottom-left x coordinate of the window in which the WMF appears |
yMin |
Single |
The bottom-left y coordinate of the window in which the WMF appears |
xMax |
Single |
The top-right x coordinate of the window in which the WMF appears |
yMax |
Single |
The top-right y coordinate of the window in which the WMF appears |
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.
Remarks:
If you add more than one WMF file then you will have an animation object