←Select platform

DecodeToFile Method

Summary
Saves the image data in this data URI object to a file on disk.
Syntax
C#
VB
Objective-C
C++
Java
public void DecodeToFile( 
   string fileName 
) 
Public Sub DecodeToFile( _ 
   ByVal fileName As String _ 
)  
- (BOOL)decodeToFile:(NSString *)file error:(NSError **)error 
public void decodeToFile(String fileName) 
public: 
void DecodeToFile(  
   String^ fileName 
)  

Parameters

fileName
Output file name

Remarks

This method saves the data as an image file into the file. The data must be previously set into Href using Parse. Use DecodeToStream to save the data to a stream.

Example

For an example, refer to SvgDocument.EnumerateElements

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.