←Select platform

DecodeToFile Method

Summary

Saves the image data in this data URI object to a file on disk.

Syntax

C#
VB
Java
Objective-C
C++
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly