LEADTOOLS Forms (Leadtools.Forms assembly)
LEAD Technologies, Inc

Intersect(LogicalRectangle,LogicalRectangle) Method






A rectangle to intersect.
A rectangle to intersect
Returns an LogicalRectangle structure that represents the intersection of two rectangles. If there is no intersection, an empty rectangle is returned.
Syntax
public static LogicalRectangle Intersect( 
   LogicalRectangle rect1,
   LogicalRectangle rect2
)
'Declaration
 
Public Overloads Shared Function Intersect( _
   ByVal rect1 As LogicalRectangle, _
   ByVal rect2 As LogicalRectangle _
) As LogicalRectangle
'Usage
 
Dim rect1 As LogicalRectangle
Dim rect2 As LogicalRectangle
Dim value As LogicalRectangle
 
value = LogicalRectangle.Intersect(rect1, rect2)
public static LogicalRectangle Intersect( 
   LogicalRectangle rect1,
   LogicalRectangle rect2
)
 function Leadtools.Forms.LogicalRectangle.Intersect(LogicalRectangle,LogicalRectangle)( 
   rect1 ,
   rect2 
)
public:
static LogicalRectangle Intersect( 
   LogicalRectangle rect1,
   LogicalRectangle rect2
) 

Parameters

rect1
A rectangle to intersect.
rect2
A rectangle to intersect

Return Value

A third LogicalRectangle structure the size of which represents the overlapped area of the two specified rectangles.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LogicalRectangle Structure
LogicalRectangle Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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