SVG_CLEAR

4D - Documentation   Français   English   German   4D SVG Component, Command Theme List   4D SVG Component, Index   Back   Previous   Next

version 11.3


SVG_CLEAR {(svgObject)}

ParameterTypeDescription
svgObjectSVG_RefSVG object reference

Description

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.

See Also

SVG_Copy, SVG_New, SVG_Open_file.


4D - Documentation   Français   English   German   4D SVG Component, Command Theme List   4D SVG Component, Index   Back   Previous   Next