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



rect1
A rectangle to union.
rect2
A rectangle to union.

The Union Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

rect1
A rectangle to union.
rect2
A rectangle to union.
Gets a Rectangle structure that contains the union of two Rectangle structures.

Syntax

Visual Basic (Declaration) 
Public Shared Function Union( _
   ByVal rect1 As LogicalRectangle, _
   ByVal rect2 As LogicalRectangle _
) As LogicalRectangle
Visual Basic (Usage)Copy Code
Dim rect1 As LogicalRectangle
Dim rect2 As LogicalRectangle
Dim value As LogicalRectangle
 
value = LogicalRectangle.Union(rect1, rect2)
C# 
public static LogicalRectangle Union( 
   LogicalRectangle rect1,
   LogicalRectangle rect2
)
C++/CLI 
public:
static LogicalRectangle Union( 
   LogicalRectangle rect1,
   LogicalRectangle rect2
) 

Parameters

rect1
A rectangle to union.
rect2
A rectangle to union.

Remarks

The two rectangles should have the same unit of measurement. If the unit is not the same the union process will be done according to the rect1 unit of measurement.

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