PrintToWMF
MethodPrintToWMF (Method)
Exports the drawing into a WMF file
Syntax:
Function PrintToWMF(sMetaFile As String, lWidth As Integer, lHeight As Integer, fSelected As Boolean, xMin As Single, yMin As Single, xMax As Single, yMax As Single, sScale As Single) As Boolean
The PrintToWMF method syntax consists of the following:
Parameter |
Data Type |
Description |
sMetaFile |
String |
The name of the WMF file |
lWidth |
Integer |
The width of the printed area |
lHeight |
Integer |
The height of the printed area |
fSelected |
Boolean |
True when o.nly the selected objects are printed |
xMin |
Single |
The x coordinate of the left bottom drawing extents that will be printed |
yMin |
Single |
The y coordinate of the left bottom drawing extents that will be printed |
xMax |
Single |
The x coordinate of the right top drawing extents that will be printed |
yMax |
Single |
The y coordinate of the right top drawing extents that will be printed |
sScale |
Single |
The plot scale |
Return value:
Boolean - True on success, false on error.
Remarks:
If all the xMin, yMin, xMax and yMax are zero, then the whole drawing will be printed