4D v14

SVG_Open_picture

Home

 
4D v14
SVG_Open_picture

SVG_Open_picture 


 

SVG_Open_picture ( picture ) -> Function result 
Parameter Type   Description
picture  Picture in 4D picture field or variable
Function result  SVG_Ref in Reference of SVG document

The SVG_Open_picture command analyzes an SVG picture and returns an SVG reference for this picture. If picture does not contain an SVG picture, the command returns an empty string.

Important: Once you no longer need it, remember to call the SVG_CLEAR command with this reference in order to free up the memory.

Example  

 READ PICTURE FILE("";$picture)
 If(OK=1)
    $ref:=SVG_Open_picture($picture)
    ...
    SVG_CLEAR($ref)
 End if

 
PROPERTIES 

Product: 4D
Theme: Documents
Number: 65901

 
HISTORY 

Created: Composant 4D SVG v11.3

 
SEE ALSO 

SVG_Export_to_picture

 
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)