←Select platform

SaveToFile Method

Summary

Saves this SvgDocument to a disk file.

Syntax

C#
VB
Java
Objective-C
C++
public void SaveToFile( 
   string fileName, 
   SvgSaveOptions options 
) 
Public Sub SaveToFile( _ 
   ByVal fileName As String, _ 
   ByVal options As Leadtools.Svg.SvgSaveOptions _ 
)  
- (BOOL)saveToFile:(NSString *)file 
           options:(nullable LTSvgSaveOptions *)options 
             error:(NSError **)error 
             
public void saveToFile(String fileName, SvgSaveOptions options) 
public: 
void SaveToFile(  
   String^ fileName, 
   Leadtools.Svg.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly