LEADTOOLS Forms (Leadtools.Forms.Recognition assembly)

GetPageAlignment(FormRecognitionAttributes,Int32,FormRecognitionAttributes,Int32,PageProgressCallback) Method

Show in webframe





The attributes of the Master Form.
The reference Master Form page. The page number is a 1-based index.
The Form attributes object.
The page of the form being aligned. The page number is a 1-based index.
Optional callback to show operation progress.
Returns a Leadtools.Forms.PageAlignment object which specifies the amount of shift and scaling for a specific form page, according to the specified Master Form.
Syntax
'Declaration
 
Public Overloads Function GetPageAlignment( _
   ByVal masterAttributes As FormRecognitionAttributes, _
   ByVal masterPageNumber As Integer, _
   ByVal formAttributes As FormRecognitionAttributes, _
   ByVal formPageNumber As Integer, _
   ByVal callback As PageProgressCallback _
) As PageAlignment
'Usage
 
Dim instance As FormRecognitionEngine
Dim masterAttributes As FormRecognitionAttributes
Dim masterPageNumber As Integer
Dim formAttributes As FormRecognitionAttributes
Dim formPageNumber As Integer
Dim callback As PageProgressCallback
Dim value As PageAlignment
 
value = instance.GetPageAlignment(masterAttributes, masterPageNumber, formAttributes, formPageNumber, callback)

            

            

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.
callback
Optional callback to show operation progress.
Remarks
Alignment is necessary when processing forms so that data can be extracted correctly. This function returns a Leadtools.Forms.PageAlignment object that aligns a Leadtools.Forms.LogicalRectangle located in the Master Form to its equivalent position in the Form.
Requirements

Target Platforms

See Also

Reference

FormRecognitionEngine Class
FormRecognitionEngine Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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