Leadtools.Forms.Recognition Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetPageAlignment(FormRecognitionAttributes,Int32,FormRecognitionAttributes,Int32) Method
See Also 
Leadtools.Forms.Recognition Namespace > FormRecognitionEngine Class > GetPageAlignment Method : GetPageAlignment(FormRecognitionAttributes,Int32,FormRecognitionAttributes,Int32) Method



masterAttributes
The attributes of the Master Form.
masterPageNumber
The reference Master Form page. The page number is a 1-based index.
formAttributes
The Form attributes object.
formPageNumber
The page of the form being aligned. The page number is a 1-based index.
masterAttributes
The attributes of the Master Form.
masterPageNumber
The reference Master Form page. The page number is a 1-based index.
formAttributes
The Form attributes object.
formPageNumber
The page of the form being aligned. The page number is a 1-based index.
Returns a PageAlignment object which specifies the amount of shift and scaling for a specific form page, according to the specified Master Form.

Syntax

Visual Basic (Declaration) 
Overloads Public Function GetPageAlignment( _
   ByVal masterAttributes As FormRecognitionAttributes, _
   ByVal masterPageNumber As Integer, _
   ByVal formAttributes As FormRecognitionAttributes, _
   ByVal formPageNumber As Integer _
) As PageAlignment
Visual Basic (Usage)Copy Code
Dim instance As FormRecognitionEngine
Dim masterAttributes As FormRecognitionAttributes
Dim masterPageNumber As Integer
Dim formAttributes As FormRecognitionAttributes
Dim formPageNumber As Integer
Dim value As PageAlignment
 
value = instance.GetPageAlignment(masterAttributes, masterPageNumber, formAttributes, formPageNumber)

Parameters

masterAttributes
The attributes of the Master Form.
masterPageNumber
The reference Master Form page. The page number is a 1-based index.
formAttributes
The Form attributes object.
formPageNumber
The page of the form being aligned. The page number is a 1-based index.

Remarks

Alignment is necessarliy for Forms processing to extract th data from their ccorrect positions. It returns a PageAlignment that aligns any LogicalRectangle located in the Master Form to its equivelent area position in the Form.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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