Leadtools.Document Deprecated as of v16. Refer to: Leadtools.Forms.Ocr | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SaveResultsToFile Method
See Also 
Leadtools.Document Namespace > RasterDocumentEngine Class : SaveResultsToFile Method



fileName
String containing the output file name
fileName
String containing the output file name
Saves the recognition results to a file.

Syntax

Visual Basic (Declaration) 
Public Sub SaveResultsToFile( _
   ByVal fileName As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterDocumentEngine
Dim fileName As String
 
instance.SaveResultsToFile(fileName)
C# 
public void SaveResultsToFile( 
   string fileName
)
C++/CLI 
public:
void SaveResultsToFile( 
   String^ fileName
) 

Parameters

fileName
String containing the output file name

Example

Remarks

Saves the recognition results to a file.
To recognize a page(s), call Recognize.
To set/get the save recognition results options, use the RasterDocumentEngine.SaveResultOptions property.
To get all supported output formats, call RasterDocumentEngine.AvailableOutputFileFormats.
For more information, refer to Recognizing Document Pages.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

The Leadtools.Document namespace is deprecated and no longer supported as of LEADTOOLS v16. For v16 and later, please refer to: Leadtools.Forms.Ocr. This documentation is retained for v15 and earlier informational use only.