Skip to content

SVGraph_SaveSVG()

CapnOdin edited this page Nov 6, 2016 · 2 revisions

Saves the SVG to a file.

SVGraph_SaveSVG(Filename)

Parameters

Filename

The name of the file to create/overwrite.

Remarks

This function will even save hidden objects.

Example

; Makes a plot and saves it to the desktop as "Plot.svg"
Gui, Add, ActiveX, vIE, Shell.Explorer
SVGraph_Attach(IE)
SVGraph_Start()
SVGraph_Chart(700, 365, 40)
SVGraph_SetAxes(-10, 10, -1, 1)
SVGraph_LinePlot("x", "Math.sin(x)", "#0000FF", 200)
SVGraph_SaveSVG(A_Desktop "\Plot.svg")
Clone this wiki locally