4D v16

SVG_ELEMENTS_TO_ARRAYS

Home

 
4D v16
SVG_ELEMENTS_TO_ARRAYS

SVG_ELEMENTS_TO_ARRAYS 


 

SVG_ELEMENTS_TO_ARRAYS ( svgObject ; refsArrayPointer {; typesArrayPointer {; namesArrayPointer}} )  
Parameter Type   Description
svgObject  Alpha in SVG reference
refsArrayPointer  Pointer in String array of object references
typesArrayPointer  Pointer in String array of object types
namesArrayPointer  Pointer in String array of object IDs

The SVG_ELEMENTS_TO_ARRAYS command fills the array pointed to by refsArrayPointer with the references of the graphic objects of the first level for the SVG reference passed in svgObject.

If the optional typesArrayPointer pointer is passed, the array will be filled with the object types.

If the optional namesArrayPointer pointer is passed, the array will be filled with object IDs.

A group counts as one object. To find out this information for the graphic objects in a group, passed its reference to the command.

If svgObject is not valid or if this attribute does not exist, an error is generated.



See also 

SVG_Count_elements
SVG_New_group

 
PROPERTIES 

Product: 4D
Theme: Utilities
Number: 65909

 
HISTORY 

Created: Composant 4D SVG v11.3

 
ARTICLE USAGE

4D SVG Component ( 4D v16)