The Process(RasterImage,IList<PageAlignment>) Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- form
- Form image.
- formAlignment
- A value that indicates the Form Alignment. It aligns Master Form's fields to this form field. If it is null fields will be aligned depending on the image resolution.
Visual Basic (Declaration) | |
---|---|
Overloads Public Sub Process( _ ByVal form As RasterImage, _ ByVal formAlignment As IList(Of PageAlignment) _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As FormProcessingEngine Dim form As RasterImage Dim formAlignment As IList(Of PageAlignment) instance.Process(form, formAlignment) |
C# | |
---|---|
public void Process( RasterImage form, IList<PageAlignment> formAlignment ) |
C++/CLI | |
---|---|
public: void Process( RasterImage^ form, IList<PageAlignment^>^ formAlignment ) |
Parameters
- form
- Form image.
- formAlignment
- A value that indicates the Form Alignment. It aligns Master Form's fields to this form field. If it is null fields will be aligned depending on the image resolution.
For a complete example on using the forms recognition and processing, refer to the FormProcessingEngine example.
This example processes form.
Visual Basic | Copy Code |
---|---|
'''This method processes the recognized form. Public Sub ProcessForm(ByVal processingEngine As FormProcessingEngine, ByVal form As MyForm) form.ProcessingPages = CType(form.Master.ProcessingPages.GetRange(0, form.Master.ProcessingPages.Count), FormPages) processingEngine.Pages.Clear() processingEngine.Pages.AddRange(form.ProcessingPages) processingEngine.Process(form.Image, form.Alignment) End Sub |
C# | Copy Code |
---|---|
///This method processes the recognized form. public void ProcessForm(FormProcessingEngine processingEngine, MyForm form) { form.ProcessingPages = (FormPages)form.Master.ProcessingPages.GetRange(0, form.Master.ProcessingPages.Count); processingEngine.Pages.Clear(); processingEngine.Pages.AddRange(form.ProcessingPages); processingEngine.Process(form.Image, form.Alignment); } |
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7