4D v16

SVG_Set_title

Home

 
4D v16
SVG_Set_title

SVG_Set_title 


 

SVG_Set_title ( parentSVGObject ; Titel ) -> Funktionsergebnis 
Parameter Typ   Beschreibung
parentSVGObject  SVG_Ref in Reference of parent element
Titel  String in Text of title
Funktionsergebnis  SVG_Ref in 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 ")
 ...



Siehe auch 

SVG_Set_description

 
EIGENSCHAFTEN 

Produkt: 4D
Thema: Structure and Definitions
Nummer: 65981

 
GESCHICHTE 

Erstellt: Composant 4D SVG v11.3

 
ARTIKELVERWENDUNG

4D SVG ( 4D v16)