←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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.