Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
SVG_SAVE_AS_TEXT
|
SVG_SAVE_AS_TEXT ( svgObject {; Dokumentname} ) | ||||||||
Parameter | Typ | Beschreibung | ||||||
svgObject | SVG_Ref |
![]() |
SVG object reference | |||||
Dokumentname | String |
![]() |
Document name or Full pathname of document | |||||
The SVG_SAVE_AS_TEXT command writes the content of the SVG object specified by svgObject into the disk file specified by document. If svgObject is not an SVG document, an error is generated.
In document, you can pass the full pathname of the file, or only the file name – in which case the file will be created next to the database structure file. If you pass an empty string ("") in document or omit this parameter, the standard Save file dialog box appears so that the user can specify the name, location and format of the file to be created.
The SVG_SAVE_AS_TEXT modifies the value of the variable (if any) designated by the SVG_SET_DOCUMENT_VARIABLE command.
svgRef:=SVG_New(500;200;"Sales statistics")
...
SVG_SAVE_AS_TEXT(svgRef;"test.svg") //The document is saved next to the structure
SVG_CLEAR(svgRef)
Produkt: 4D
Thema: Documents
Nummer:
65995
Erstellt: Composant 4D SVG v11.3
Geändert: 4D v13
4D SVG ( 4D v20 R7)