←Select platform

AlignOmrRectangle Method

Summary

Returns a LeadRect that is aligned to the form that has generated this PageAlignment.

Syntax
C#
VB
C++
Java
public LeadRect AlignOmrRectangle( 
   LeadRect rectangle 
) 
Public Function AlignOmrRectangle( 
   ByVal rectangle As LeadRect 
) As LeadRect 
public:  
   LeadRect^ AlignOmrRectangle( 
      LeadRect^ rectangle 
   ) 

public LeadRect alignOmrRectangle( 
   LeadRect rectangle 
); 

Parameters

rectangle

The original LeadRect to align. This LeadRect should be in Master Form coordinates.

Remarks

Alignment is useful when processing forms to extract correct field data from the Form page. A Form page can be scaled, shifted, or both in relation to its Master Form page.

Alignment matches a LeadRect that represents a specific area in the Master Form to its equivalent area in the Form.

This method aligns fields of type OmrFormField OmrFormField when the FormsPageType for both master and filled forms are set to FormsPageType.Omr FormsPageType.

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.