PrintToBMP
MethodPrintToBMP (Method)
Exports the drawing into a BMP file
Syntax:
Function PrintToBMP(sBmpFile 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 PrintToBMP method syntax consists of the following:
Parameter |
Data Type |
Description |
sBmpFile |
String |
The name of the BMP file |
lWidth |
Integer |
The width of the BMP image |
lHeight |
Integer |
The height of the BMP image |
fSelected |
Boolean |
True when o.nly the selected objects are printed into the BMP file |
xMin |
Single |
The x coordinate of the bottom-left drawing extents that will be printed |
yMin |
Single |
The y coordinate of the bottom-left drawing extents that will be printed |
xMax |
Single |
The x coordinate of the top-right drawing extents that will be printed |
yMax |
Single |
The y coordinate of the top-right drawing extents that will be printed |
sScale |
Single |
The scale of the objects |
Return value:
Boolean - True on success, false on error
Remarks:
If all the xMin, yMin, xMax, yMax are zero, then the whole drawing will be printed