SVG_Export_to_picture

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

version 11.3


SVG_Export_to_picture (svgObject{; exportType}) Picture

ParameterTypeDescription
svgObjectSVG_RefSVG object reference
exportTypeLongint0 = Do not store data source
1 (default) = Copy data source
2 = Own data source
Function resultPicturePicture rendered by SVG engine

Description

The SVG_Export_to_picture command returns the picture described by the SVG structure referenced by svgObject.

The optional exportType parameter can be used to specify the way in which the XML data source must be handled by the command. For more information about this parameter, refer to the description of the 4D SVG EXPORT TO PICTURE command. If this parameter is omitted, the default value is 1, Copy XML Data Source.

Example

   svgRef:=SVG_New(500;200; "Test component")
   …
   MyPicture:= SVG_Export_to_picture (svgRef ;0)

   SVG_CLEAR (svgRef )

See Also

SVG_Export_to_XML, SVG_Open_picture, SVG_SAVE_AS_PICTURE.


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