Saves the document to local file specified by url. All resources used in this document will be saved in to adjacent folder, whose name will be constructed as: output_file_name + “_files”. If the specified url ends with “.svgz”, the document will be saved as a compressed SVGZ file.
publicvoidSave(Urlurl)
Parameter
Type
Description
url
Url
Local URL to output file.
Exceptions
exception
condition
ArgumentException
Raised if the specified url is not a valid local file URL.
Saves the document to local file specified by path. All resources used in this document will be saved in to adjacent folder, whose name will be constructed as: output_file_name + “_files”.
publicvoidSave(stringpath)
Parameter
Type
Description
path
String
Local path to output file.
Exceptions
exception
condition
ArgumentException
Raised if the specified path is not a valid local file path.
Saves the document to local file specified by path. All resources used in this document will be saved in to adjacent folder, whose name will be constructed as: output_file_name + “_files”.
Saves the document to local file specified by path. All resources used in this document will be saved in to adjacent folder, whose name will be constructed as: output_file_name + “_files”. If the specified path ends with “.svgz”, the document will be saved as a compressed SVGZ file.
Saves the document to local file specified by url. All resources used in this document will be saved in to adjacent folder, whose name will be constructed as: output_file_name + “_files”.
publicvoidSave(Urlurl,SVGSaveFormatsaveFormat)
Parameter
Type
Description
url
Url
Local URL to output file.
saveFormat
SVGSaveFormat
Format in which document is saved.
Exceptions
exception
condition
ArgumentException
Raised if the specified url is not a valid local file URL.
Saves the document to local file specified by url. All resources used in this document will be saved in to adjacent folder, whose name will be constructed as: output_file_name + “_files”. If the specified url ends with “.svgz”, the document will be saved as a compressed SVGZ file.
publicvoidSave(Urlurl,SVGSaveOptionssaveOptions)
Parameter
Type
Description
url
Url
Local URL to output file.
saveOptions
SVGSaveOptions
SVG save options.
Exceptions
exception
condition
ArgumentException
Raised if the specified url is not a valid local file URL.