This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
SVG_Copy

SVG_Copy 


 

SVG_Copy ( svgObject ) -> Function result 
Parameter Type   Description
svgObject  SVG_Ref in Reference of SVG objec to copy
Function result  SVG_Ref in Reference of new SVG object

The SVG_Copy command creates a new SVG document that is a copy of the document referenced by svgObject.

The command returns a 32-character string (SVG_Ref) that consists of the reference in memory of the document virtual structure. This reference must be used with the other commands of the component.

Important: Once you no longer need it, do not forget to call the SVG_CLEAR command with this reference in order to free up the memory.

Example  

 svgRef:=SVG_New
 ...
 svgRef Copy:=SVG_Copy(svgRef)



See also 

SVG_CLEAR
SVG_New

 
PROPERTIES 

Product: 4D
Theme: Documents
Number: 65998

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Created: Composant 4D SVG v11.3

 
ARTICLE USAGE

4D SVG Component ( 4D v20 R7)