4D v14SVG_Set_description |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14
SVG_Set_description
|
SVG_Set_description ( parentSVGObject ; description ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
parentSVGObject | SVG_Ref |
![]() |
Reference of parent element | |||||
description | String |
![]() |
Text of comments | |||||
Function result | SVG_Ref |
![]() |
Reference of description | |||||
The SVG_Set_description command sets a text for the SVG element designated by parentSVGObject and returns its reference. If parentSVGObject is not an SVG element, an error is generated.
A description is often used to insert a comment or explanatory text in the SVG code.
$SVG:=SVG_New
$g:=SVG_group($SVG)
SVG_Set_title($g;"Company sales per region")
SVG_Set_description($g;"Bar diagram of company sales per region.")
Product: 4D
Theme: Structure and Definitions
Number:
65982
Created: Composant 4D SVG v11.3
4D SVG Component ( 4D v13)
4D SVG Component ( 4D v12)
4D SVG Component ( Composant 4D SVG v11.4)
4D SVG Component ( 4D v14 R2)
4D SVG Component ( 4D v14)
4D SVG Component ( 4D v14 R3)
4D SVG Component ( 4D v14 R4)