saveToFile
Saves the vector composition to a file in SVG format.
Only files with the ".svg" extension are supported. Writing to files with unsupported extensions will result in an exception.
Parameters
file
the file to which the composition should be saved. The file must have an ".svg" extension.
Throws
if the file does not have the ".svg" extension.