LEADTOOLS Forms (Leadtools.Forms.Processing assembly)

SaveFields(String) Method

Show in webframe
Example 





The path of the file to save.
Saves field data for the specified file.
Syntax
public void SaveFields( 
   string fileName
)
'Declaration
 
Public Overloads Sub SaveFields( _
   ByVal fileName As String _
) 
'Usage
 
Dim instance As FormProcessingEngine
Dim fileName As String
 
instance.SaveFields(fileName)

            

            
public:
void SaveFields( 
   String^ fileName
) 

Parameters

fileName
The path of the file to save.
Example
Copy Code  
Imports Leadtools
Imports Leadtools.Barcode
Imports Leadtools.Codecs
Imports Leadtools.Forms
Imports Leadtools.Forms.Ocr
Imports Leadtools.Forms.Processing
Imports Leadtools.Forms.Recognition
Imports Leadtools.Forms.Recognition.Barcode
Imports Leadtools.Forms.Recognition.Ocr

''' This method saves master form fields to the specified filename.
Public Sub SaveMasterFormFields(ByVal processingEngine As FormProcessingEngine, ByVal form As MasterForm, ByVal fieldsFileName As String)
   processingEngine.Pages.Clear()
   processingEngine.Pages.AddRange(form.ProcessingPages)
   processingEngine.SaveFields(fieldsFileName)
End Sub
using Leadtools;
using Leadtools.Barcode;
using Leadtools.Codecs;
using Leadtools.Forms;
using Leadtools.Forms.Ocr;
using Leadtools.Forms.Processing;
using Leadtools.Forms.Recognition;
using Leadtools.Forms.Recognition.Barcode;
using Leadtools.Forms.Recognition.Ocr;

/// This method saves master form fields to the specified filename.
public void SaveMasterFormFields(FormProcessingEngine processingEngine, MasterForm form, string fieldsFileName)
{
   processingEngine.Pages.Clear();
   processingEngine.Pages.AddRange(form.ProcessingPages);
   processingEngine.SaveFields(fieldsFileName);
}
Requirements

Target Platforms

See Also

Reference

FormProcessingEngine Class
FormProcessingEngine Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Forms requires a Forms Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features