4D v12SVG_CLEAR |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v12
SVG_CLEAR
|
SVG_CLEAR {( svgObject )} | ||||||||
Parameter | Type | Description | ||||||
svgObject | SVG_Ref |
![]() |
SVG object reference | |||||
The SVG_CLEAR command frees the memory taken up by the SVG object designated by svgObject.
If svgObject is not an SVG root object created with the SVG_New, SVG_Copy or SVG_Open_file commands, an error is generated.
If svgObject is not passed, the command frees all the SVG objects created using SVG_New, SVG_Copy or SVG_Open_file commands.This syntax is useful during the development phase during which an SVG reference can be created but the memory was not released becauses of an error that prevents the execution of the method from completing. In a final development, any SVG reference that is no longer used must be freed using the SVG_CLEAR command.
Product: 4D
Theme: Documents
Number:
65997
Created: Composant 4D SVG v11.3
SVG_Copy
SVG_New
SVG_Open_file