- Documentation
- Server functions
- svgGetDocumentXML
Function
svgGetDocumentXML
Returns the XML content of an SVG document.
Syntax
string svgGetDocumentXML(element svgElement)Arguments
svgElementelement- The SVG document.
Returns
The content, or false.
Example
local svg = svgCreate(32, 32, "<svg/>")
outputDebugString(svgGetDocumentXML(svg))