|
PrintToPNG (Method)
Exports the drawing into a .PNG file
Syntax:
Function PrintToPNG(sPNGFile 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 PrintToPNG method syntax consists of the following:
Parameter
|
Data Type
|
Description
|
sPNGFile
|
String
|
Is the path of the .PNG file
|
lWidth
|
Integer
|
Is the width of the .GIF file
|
lHeight
|
Integer
|
Is the height of the .GIF file
|
fSelected
|
Boolean
|
If true only the selected items will be exported
|
xMin
|
Single
|
Is the x coordinate of the bottom left drawing extents that will be exported
|
yMin
|
Single
|
Is the y coordinate of the bottom left drawing extents that will be exported
|
xMax
|
Single
|
Is the x coordinate of the top right drawing extents that will be exported
|
yMax
|
Single
|
Is the x coordinate of the top right drawing extents that will be exported
|
sScale
|
Single
|
Is the scale of the objects
|
Return value:
Boolean - True on success, false on error.
Example
|