Leadtools.Forms Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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 for forms processing to extracts correct field's data from the Form page. Form page could be scaled, shifted, or both from its Master Form page, so the alignment will align a LogicalRectangle that represents a specific area in the Master Form to its equivelent area in the Form.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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