4D v13

SVG_Export_to_picture

Home

 
4D v13
SVG_Export_to_picture

SVG_Export_to_picture 


 

SVG_Export_to_picture ( svgObject {; exportType} ) -> Function result 
Parameter Type   Description
svgObject  SVG_Ref in SVG object reference
exportType  Longint in 0 = Do not store data source 1 (default) = Copy data source 2 = Own data source
Function result  Picture in Picture rendered by SVG engine

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)

 
PROPERTIES 

Product: 4D
Theme: Documents
Number: 65992

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: Composant 4D SVG v11.3

 
SEE ALSO 

SVG_Export_to_XML
SVG_Open_picture
SVG_SAVE_AS_PICTURE