GetFormAlignment(FormRecognitionAttributes,FormRecognitionAttributes,FormProgressCallback) Method

Summary

Returns a list of Leadtools.Forms.Common.PageAlignment objects that determines the amount of shift and scaling for each page of the Form with its corresponding page in the specified Master Form.

Syntax
C#
VB
C++
  
Public Overloads Function GetFormAlignment( _ 
   ByVal masterAttributes As FormRecognitionAttributes, _ 
   ByVal formAttributes As FormRecognitionAttributes, _ 
   ByVal callback As FormProgressCallback _ 
) As IList(Of PageAlignment) 
public: 
IList<PageAlignment^>^ GetFormAlignment(  
   FormRecognitionAttributes^ masterAttributes, 
   FormRecognitionAttributes^ formAttributes, 
   FormProgressCallback^ callback 
)  

Parameters

masterAttributes
The Master Form attributes object.

formAttributes
The Form attributes object.

callback
Provides status on the progress of the alignment calculations at the form level (i.e. page by page). Set it to null to ignore the progress.

Return Value

A list of Leadtools.Forms.Common.PageAlignment objects that determines the amount of shift and scaling for each page of the Form with its corresponding page in the specified Master Form.

Remarks

Alignment is necessary when processing forms so that data can be extracted correctly. This function returns a Leadtools.Forms.Common.PageAlignment object that aligns a LeadRect located in the Master Form to its equivalent position in the Form.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Recognition Assembly