PrintToSVG
MethodPrintToSVG (Method)
Exports the drawing into an SVG file
Syntax:
Function PrintToSVG(sSVGFile As String, WidthCm As Single, HeightCm As Single, fSelected As Boolean, xMin As Single, yMin As Single, xMax As Single, yMax As Single) As Boolean
The PrintToSVG method syntax consists of the following:
Parameter |
Data Type |
Description |
sSVGFile |
String |
The name of the SVG file |
WidthCm |
Single |
The width of SVG window in cm |
HeightCm |
Single |
The height of SVG window in cm |
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 |
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