Bonjour Alexander
QS_Toolbox source is opened, that mean you have access to the code.
If you have a look on the method 'TOOLS_Export_Drawn_Structure', you'll see
the picture is resized to fit the screen and the export is in JPG
I you just want to get the SVG file without any resizing, you just have to
use these code lines (not tested):
C_TEXT($vTStruc;$1;$NomImage)
$NomImage:="myStructurePictureFile"
EXPORT STRUCTURE($vTStruc)
TEXT TO DOCUMENT("myStructure.xml";$vTStruc)
$ScreenShot:=SUPPORT_Draw_Structure ("myStructure.xml") // without second
parameter => SVG file
DELETE DOCUMENT("myStructure.xml")
WRITE PICTURE FILE($NomImage;$ScreenShot;".svg")
Let me know :)
Patrick
-----
Patrick EMANUEL
------------------------------------------------------------
Administrator
www.association-qualisoft.eu
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************