SVG_Count_elements

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

version 11.3


SVG_Count_elements (svgObject) Number

ParameterTypeDescription
svgObjectSVG_RefSVG reference
Function resultNumberNumber of objects

Description

The SVG_Count_elements command returns the number of graphic objects contains in the svgObject passed as parameter. A group counts as one object. To find out the number of graphic objects in a group, passed its reference to the command. If svgObject is not valid, an error is generated.

See Also

SVG_ELEMENTS_TO_ARRAYS, SVG_New_group.


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