Leadtools.Forms.Processing Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SaveFields(String) Method
See Also  Example
Leadtools.Forms.Processing Namespace > FormProcessingEngine Class > SaveFields Method : SaveFields(String) Method



fileName
The path of the file to save.
fileName
The path of the file to save.
Saves field data for the specified file.

Syntax

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

Parameters

fileName
The path of the file to save.

Example

For a complete example on using the forms recognition and processing, refer to the FormProcessingEngine example.

This example save form fields to a file.

Visual BasicCopy Code
''' This method saves master form fields to the specified file name.
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
C#Copy Code
/// This method saves master form fields to the specified file name. 
public void SaveMasterFormFields(FormProcessingEngine processingEngine, MasterForm form, string fieldsFileName) 

   processingEngine.Pages.Clear(); 
   processingEngine.Pages.AddRange(form.ProcessingPages); 
   processingEngine.SaveFields(fieldsFileName); 
}

Requirements

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

See Also

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