GetPageAlignment(FormRecognitionAttributes,int,FormRecognitionAttributes,int,PageProgressCallback) Method

Summary

Returns a Leadtools.Forms.Common.PageAlignment object which specifies the amount of shift and scaling for a specific form page, according to the specified Master Form.

Syntax
C#
VB
C++
  
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 

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.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