4D v14SVG_Post_comment |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14
SVG_Post_comment
|
SVG_Post_comment ( svgObject ; comment ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
svgObject | SVG_Ref |
![]() |
SVG object reference | |||||
comment | Text |
![]() |
Text to be added as a comment | |||||
Function result | SVG_Ref |
![]() |
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]
Product: 4D
Theme: Utilities
Number:
65866
Created: 4D v13
4D SVG Component ( 4D v13)
4D SVG Component ( 4D v14)