Common Reference > Document Class > SaveSvg Method Document.SaveSvg Method
Save document to named file as SVG. See the RenderSvg method for more information.
Overloads
- public void SaveSvg(string filename);
- public void SaveSvg(string filename,SvgMode mode);
- public void SaveSvg(string filename,SvgMode mode,double dpi);
- public void SaveSvg(string filename,SvgMode mode,double dpi,PageMode pagemode);
- public void SaveSvg(string filename,SvgMode mode,double dpi,PageMode pagemode,string header);
Example
// Save SVG at 96 dots per inch, scaled to fit container width, with pages laid vertically.
doc.SaveSvg("mydocument.svg",SvgMode.FitWidth,96,PageMode.Vertical);
See also ...SharpPlot.SaveSvg Method | SharpLeaf.SaveSvg Method | Document.Members | Document.RenderSvg Method
Send comments on this topic © Dyalog Ltd 2021
|