4D v16

SVG_Count_elements

Home

 
4D v16
SVG_Count_elements

SVG_Count_elements 


 

SVG_Count_elements ( svgObject ) -> Function result 
Parameter Type   Description
svgObject  SVG_Ref in SVG reference
Function result  Longint in Number of objects

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

 
PROPERTIES 

Product: 4D
Theme: Utilities
Number: 65910

 
HISTORY 

Created: Composant 4D SVG v11.3

 
ARTICLE USAGE

4D SVG Component ( 4D v16)