LEADTOOLS Forms (Leadtools.Forms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AlignRectangle Method
See Also 
Leadtools.Forms Namespace > PageAlignment Class : AlignRectangle Method



rectangle
The original LogicalRectangle to align. This LogicalRectangle should be in Master Form coordinates.
rectangle
The original LogicalRectangle to align. This LogicalRectangle should be in Master Form coordinates.
Returns a LogicalRectangle that is aligned to the form that has generated this PageAlignment.

Syntax

Visual Basic (Declaration) 
Public Function AlignRectangle( _
   ByVal rectangle As LogicalRectangle _
) As LogicalRectangle
Visual Basic (Usage)Copy Code
Dim instance As PageAlignment
Dim rectangle As LogicalRectangle
Dim value As LogicalRectangle
 
value = instance.AlignRectangle(rectangle)
C# 
public LogicalRectangle AlignRectangle( 
   LogicalRectangle rectangle
)
C++/CLI 
public:
LogicalRectangle AlignRectangle( 
   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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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