SVG_Open_picture

4D - Documentation   Français   English   German   4D SVG Component, Command Theme List   4D SVG Component, Index   Back   Previous   Next

version 11.3


SVG_Open_picture (picture) SVG_Ref

ParameterTypeDescription
picturePicture4D picture field or variable
Function resultSVG_RefReference of SVG document

Description

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

See Also

SVG_Export_to_picture.


4D - Documentation   Français   English   German   4D SVG Component, Command Theme List   4D SVG Component, Index   Back   Previous   Next