Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 827 Bytes

File metadata and controls

33 lines (18 loc) · 827 Bytes

document.exportSVG()

Availability

Animate 2020.

Usage

document.exportSVG(fileURI, currentSettings, currentFrame);

Parameters

fileURI: A string, expressed as a file:/// URI, that specifies the output file path (without file extension)

currentSettings :A Boolean value that specifies whether to use the current SVG export settings (true) or to display the Export SVG dialog box (false)

currentFrame:A Boolean value that specifies whether to export only the current frame (true) or to export all frames, with each frame as a separate SVG file (false)

Returns

Nothing.

Description

Method;It generates SVG File.

Example

The following example generates SVG FIle.

fl.getDocumentDOM().exportSVG("file:///users/usename/Desktop/Canvas/hap.svg", true, true);