←Select platform

SaveSvg(string) Method

Summary

Quickly save this page as an SVG file.

Syntax
C#
Objective-C
C++/CLI
Python
public void SaveSvg( 
   string fileName 
) 
- (BOOL)saveSvgToFile:(NSString *)fileName error:(NSError **)error; 
public:  
   void SaveSvg( 
      String^ fileName 
   ) 
def SaveSvg(self,fileName): 

Parameters

fileName

The output file name that will contain the SVG data.

Remarks

This method will save the recognition result of this IOcrPage as SVG. Normally, the IOcrDocument object must be used to save a page (or more) to an output format. For SVG format, use IOcrPage.SaveSvg to quickly save the page and create the output document without having to create an OCR document object first.

This method will work whether the page is part of an OCR document or is standalone.

Use IOcrPage.SaveSvg(Stream stream) to save the page to a stream.

Requirements

Target Platforms

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

Leadtools.Ocr Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.