ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. svgGetDocumentXML

Function

svgGetDocumentXML

ServerSVGIdentical to MTA:SA

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))

See also