Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
SVG_Set_title
|
SVG_Set_title ( parentSVGObject ; Titel ) -> Funktionsergebnis | ||||||||
Parameter | Typ | Beschreibung | ||||||
parentSVGObject | SVG_Ref |
![]() |
Reference of parent element | |||||
Titel | String |
![]() |
Text of title | |||||
Funktionsergebnis | SVG_Ref |
![]() |
Reference of title | |||||
The SVG_Set_title command specifies a title for the SVG element designated by parentSVGObject and returns its reference. If parentSVGObject is not an SVG element, an error is generated.
A title is text data that is not included in the rendered picture but is use for structuring complex documents. Certain SVG rendering engines use the text of this element to display a help tip when the mouse moves over the object.
$SVG:=SVG_New
$rec:=SVG_New_rect($SVG;20;20;650;650;0;0;"gray";"lemonchiffon")
SVG_Set_title($rec;"Background rectangle")
$Symbol:=SVG_Define_symbol($SVG;"MySymbol";0;0;110;110;"true")
SVG_Set_title($Symbol;" Set a symbol composed of 2 squares and 2 circles ")
...
Produkt: 4D
Thema: Structure and Definitions
Nummer:
65981
Erstellt: Composant 4D SVG v11.3
4D SVG ( 4D v20 R7)