4D v14SVG_New_group |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14
SVG_New_group
SVG_New_group
The SVG_New_group command creates a group in the SVG container designated by parentSVGObject and returns its reference. If parentSVGObject is not a valid SVG group or document, an error is generated. The group ('g' element) can be used to group together several linked graphic elements, which will inherit the properties of the group. The optional id parameter can be used to assign a name to the group. Named groups are necessary for several purposes such as animation and reusable objects. The optional url parameter can be used to associate an external link. Group objects are then clickable (similar to the 'a' element of HTML). The optional target parameter specifies the name of the target where the document will open when the link is activated. The values expected are those of the HTML specification to which are added the 'new' value for opening a new window and the 'none' value which is equivalent to not processing this attribute. Note: External links are ignored when the SVG is displayed in a picture object (variable or field) of a 4D form. Management of external references is handled by the rendering engine. Under these conditions, the result may depend on the platform and the viewing software. A group of lines, all the same color: $SVG:=SVG_New Clickable text: $SVG:=SVG_New |
PROPERTIES
Product: 4D
HISTORY
Created: Composant 4D SVG v11.3 ARTICLE USAGE
4D SVG Component ( 4D v13) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||