LEADTOOLS Forms (Leadtools.Forms.Processing assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
SaveFields(String) Method
See Also 
Leadtools.Forms.Processing Namespace > FormProcessingEngine Class > SaveFields Method : SaveFields(String) Method



fileName
The path of the file to save.

The SaveFields(String) Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

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 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
C#Copy Code
/// 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: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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