SvgGetDocumentXML: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Initial page creation)
 
(Remove obsolete Requirements section)
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{Added feature/item|1.5.9|1.5.8|20979|Gets the underlying XML document from an SVG element.}}
{{Added feature/item|1.5.9|1.5.8|20979|Gets the underlying XML document from an SVG element.}}
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">svg svgGetDocumentXML ( svg svgElement )</syntaxhighlight>
<syntaxhighlight lang="lua">xmlnode svgGetDocumentXML ( svg svgElement )</syntaxhighlight>


===Required Arguments===
===Required Arguments===
*'''svgElement:''' The svg element you want to get the XML document of.
*'''svgElement:''' The [[svg]] element you want to get the XML document of.


===Returns===
===Returns===
Line 11: Line 11:


==Example==
==Example==
See the example for [[svgCreate]]
See the example for [[svgSetDocumentXML]]
 
==Requirements==
{{Requirements|n/a|1.5.8-9.20979|}}


==See Also==
==See Also==
{{SVG_functions}}
{{SVG_functions}}
[[pt-br:svgGetDocumentXML]]

Latest revision as of 17:29, 7 November 2024

Gets the underlying XML document from an SVG element.

Syntax

xmlnode svgGetDocumentXML ( svg svgElement )

Required Arguments

  • svgElement: The svg element you want to get the XML document of.

Returns

  • Returns an xmlnode if successful, false otherwise

Example

See the example for svgSetDocumentXML

See Also