The GetPageAlignment(FormRecognitionAttributes,Int32,FormRecognitionAttributes,Int32) Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- 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.
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) |
C# | |
---|---|
public PageAlignment GetPageAlignment( FormRecognitionAttributes masterAttributes, int masterPageNumber, FormRecognitionAttributes formAttributes, int formPageNumber ) |
C++/CLI | |
---|---|
public: PageAlignment^ GetPageAlignment( FormRecognitionAttributes^ masterAttributes, int masterPageNumber, FormRecognitionAttributes^ formAttributes, int 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.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7