4D v14

SVG_SET_VISIBILITY

Home

 
4D v14
SVG_SET_VISIBILITY

SVG_SET_VISIBILITY 


 

SVG_SET_VISIBILITY ( svgObject {; hide} ) 
Parameter Type   Description
svgObject  SVG_Ref in Reference of SVG element
hide  Boolean in True = Show, False = Hide

The SVG_SET_VISIBILITY command hides or shows an SVG object having the objectRef reference. If objectRef is not the reference of an object that can be hidden, an error is generated.

If the optional hide parameter is set to True or omitted, the object will be shown. If it is False, the object will be hidden.

Example  

 $svg :=SVG_New
 $object:=SVG_New_rect($svg;10;10;200;200;0;0;"black";" white";2)
 SVG_SET_VISIBILITY($object;False`The object is described but will not be rendered.

 
PROPERTIES 

Product: 4D
Theme: Attributes
Number: 65948

 
HISTORY 

Created: Composant 4D SVG v11.3

 
ARTICLE USAGE

4D SVG Component ( 4D v13)
4D SVG Component ( 4D v12)
4D SVG Component ( Composant 4D SVG v11.4)
4D SVG Component ( 4D v14 R2)
4D SVG Component ( 4D v14)
4D SVG Component ( 4D v14 R3)
4D SVG Component ( 4D v14 R4)