4D v16

SVG_SET_CLASS

Home

 
4D v16
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

 
HISTORY 

Created: 4D v12

 
ARTICLE USAGE

4D SVG Component ( 4D v16)