Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.10.28
|
Leadtools.Forms.Processing Namespace > FormProcessingEngine Class > SaveFields Method : SaveFields(String) Method |
For a complete example on using the forms recognition and processing, refer to the FormProcessingEngine example.
This example save form fields to a file.
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. Private 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. private void SaveMasterFormFields(FormProcessingEngine processingEngine, MasterForm form, string fieldsFileName) { processingEngine.Pages.Clear(); processingEngine.Pages.AddRange(form.ProcessingPages); processingEngine.SaveFields(fieldsFileName); }