←Select platform

SaveToFile Method

Summary

Saves this SvgDocument to a disk file.

Syntax
C#
VB
Objective-C
C++
Java
public void SaveToFile( 
   string fileName, 
   SvgSaveOptions options 
) 
Public Sub SaveToFile( _ 
   ByVal fileName As String, _ 
   ByVal options As SvgSaveOptions _ 
)  
- (BOOL)saveToFile:(NSString *)file 
           options:(nullable LTSvgSaveOptions *)options 
             error:(NSError **)error 
public void saveToFile(String fileName, SvgSaveOptions options) 
public: 
void SaveToFile(  
   String^ fileName, 
   SvgSaveOptions^ options 
)  

Parameters

fileName
Output file name.

options
Save option. Can be null.

Remarks

This method will save this SvgDocument to the output file as a standard SVG document. Use Version to control the SVG version used.

Example

For an example, refer to SvgDocument.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly