SVG_Set_description

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

version 11.3


SVG_Set_description (parentSVGObject; description) SVG_Ref

ParameterTypeDescription
parentSVGObjectSVG_RefReference of parent element
descriptionStringText of comments
Function resultSVG_RefReference of description

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.

Example

   $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.")
   …   

See Also

SVG_Set_title.


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