Method Save
- Namespace
- SharpVectors.Converters
- Assembly
- SharpVectors.Converters.Wpf.dll
Save(string, bool, bool)
Saves the last converted file to the specified file name.
public bool Save(string fileName, bool asXaml, bool asZaml)
Parameters
fileNamestringThe full path of the output file.
asXamlboolA value indicating whether to save the output to XAML file.
asZamlboolA value indicating whether to save the output to ZAML file, which is a G-zip compression of the XAML file.
Returns
Remarks
If the output serialization properties are not enabled, this method can be used to save the output to a file.
This will not change the output serialization properties of this object.
Exceptions
- InvalidOperationException
If there is no converted drawing from a previous conversion process to be saved.
Save(TextWriter)
public bool Save(TextWriter textWriter)
Parameters
textWriterTextWriter
Returns
Save(Stream)
public bool Save(Stream stream)
Parameters
streamStream