Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com

Home

 
4D v19
SVG_Post_comment

SVG_Post_comment 


 

SVG_Post_comment ( svgObject ; comment ) -> Funktionsergebnis 
Parameter Typ   Beschreibung
svgObject  SVG_Ref in SVG object reference
comment  Text in Text to be added as a comment
Funktionsergebnis  SVG_Ref in Reference of comment

The SVG_Post_comment adds the text passed in comment as an XML comment to the SVG object designated by the svgObject parameter.

The method returns the SVG reference of the comment.

The following code:

[#code4D]C_TEXT($comment)
$comment:="Modified on "+String(Current date)
$ref:= SVG_Post_comment ($svg; $comment )

.. adds the following to the $svg SVG object:

    <!--Modified on 12/12/2011-->[#/codeXML]

 
EIGENSCHAFTEN 

Produkt: 4D
Thema: Utilities
Nummer: 65866

Dieser Befehl kann in preemptive Prozessen laufen

 
SEITENINHALT 
 
GESCHICHTE 

Erstellt: 4D v13

 
ARTIKELVERWENDUNG

4D SVG ( 4D v19)