←Select platform

AlignOmrRectangle Method

Summary

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

Syntax

C#
VB
C++
public LogicalRectangle AlignOmrRectangle( 
   LogicalRectangle rectangle 
) 
Public Function AlignOmrRectangle( 
   ByVal rectangle As LogicalRectangle 
) As LogicalRectangle 
public:  
   LogicalRectangle^ AlignOmrRectangle( 
      LogicalRectangle^ rectangle 
   ) 

Parameters

rectangle

The original LogicalRectangle to align. This LogicalRectangle 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 LogicalRectangle 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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms Assembly