This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
SVG_SET_CLASS

SVG_SET_CLASS 


 

SVG_SET_CLASS ( svgObject ; class ) 
Parameter Type   Description
svgObject  SVG_Ref in Reference of SVG element
class  Text in Name of class

The SVG_SET_CLASS command sets the class for the object passed in svgObject. An error is generated if svgObject is not a valid reference.

See Also: http://www.w3.org/TR/SVG/styling.html#ClassAttribute

Example  

Refer to the example for the SVG_Define_style command.

 
PROPERTIES 

Product: 4D
Theme: Attributes
Number: 65870

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v12

 
ARTICLE USAGE

4D SVG Component ( 4D v20 R7)