SVGDocument.Save
Save(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.
public void Save(Url url)
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. |
See Also
Save(string)
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”.
public void Save(string path)
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. |
See Also
Save(ResourceHandler)
Saves the document content and resources using the ResourceHandler
.
public void Save(ResourceHandler resourceHandler)
Parameter | Type | Description |
---|
resourceHandler | ResourceHandler | The resource handler ResourceHandler . |
See Also
Save(string, SVGSaveFormat)
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”.
public void Save(string path, SVGSaveFormat saveFormat)
Parameter | Type | Description |
---|
path | String | Local path to output file. |
saveFormat | SVGSaveFormat | Format in which document is saved. |
Exceptions
exception | condition |
---|
ArgumentException | Raised if the specified path is not a valid local file path. |
See Also
Save(string, SVGSaveFormat, SVGSaveOptions)
Saves the document content and associated resources to the specified file path.
public void Save(string path, SVGSaveFormat saveFormat, SVGSaveOptions saveOptions)
Parameter | Type | Description |
---|
path | String | The file path where the document will be saved. |
saveFormat | SVGSaveFormat | The format in which the document should be saved. |
saveOptions | SVGSaveOptions | Options specifying additional parameters for saving, such as vectorization preferences. |
See Also
Save(ResourceHandler, SVGSaveFormat)
Saves the document content and resources using the ResourceHandler
.
public void Save(ResourceHandler resourceHandler, SVGSaveFormat saveFormat)
Parameter | Type | Description |
---|
resourceHandler | ResourceHandler | The resource handler ResourceHandler . |
saveFormat | SVGSaveFormat | Format in which document is saved. |
See Also
Save(ResourceHandler, SVGSaveFormat, SVGSaveOptions)
Saves the document content and associated resources using the specified ResourceHandler
.
public void Save(ResourceHandler resourceHandler, SVGSaveFormat saveFormat,
SVGSaveOptions saveOptions)
Parameter | Type | Description |
---|
resourceHandler | ResourceHandler | The resource handler to manage document resources, such as file system or memory-based storage. |
saveFormat | SVGSaveFormat | The format in which the document should be saved. |
saveOptions | SVGSaveOptions | Options that specify additional saving parameters, such as vectorization preferences. |
See Also
Save(string, SVGSaveOptions)
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.
public void Save(string path, SVGSaveOptions saveOptions)
Parameter | Type | Description |
---|
path | String | Local path to output file. |
saveOptions | SVGSaveOptions | SVG save options. |
Exceptions
exception | condition |
---|
ArgumentException | Raised if the specified path is not a valid local file path. |
See Also
Save(ResourceHandler, SVGSaveOptions)
Saves the document content and resources using the ResourceHandler
.
public void Save(ResourceHandler resourceHandler, SVGSaveOptions saveOptions)
Parameter | Type | Description |
---|
resourceHandler | ResourceHandler | The resource handler ResourceHandler . |
saveOptions | SVGSaveOptions | SVG save options. |
See Also
Save(Url, SVGSaveFormat)
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”.
public void Save(Url url, SVGSaveFormat saveFormat)
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. |
See Also
Save(Url, SVGSaveOptions)
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.
public void Save(Url url, SVGSaveOptions saveOptions)
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. |
See Also
Save(Url, SVGSaveFormat, SVGSaveOptions)
Saves the document content and associated resources to the specified Url
.
public void Save(Url url, SVGSaveFormat saveFormat, SVGSaveOptions saveOptions)
Parameter | Type | Description |
---|
url | Url | The target Url where the document will be saved. |
saveFormat | SVGSaveFormat | The format in which the document should be saved. |
saveOptions | SVGSaveOptions | Options specifying additional parameters for saving, such as vectorization preferences. |
See Also