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.
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As FormProcessingEngine Dim fileName As String instance.SaveFields(fileName) | |
Parameters
- fileName
- The path of the file to save.
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 Basic | Copy 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); } | |
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code