LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

Intersect Method (LeadRectHelper)






A rectangle to intersect.
A rectangle to intersect
Returns an LeadRect that represents the intersection of two rectangles. .NET support WinRT support
Syntax
public static LeadRect Intersect( 
   LeadRect rect1,
   LeadRect rect2
)
'Declaration
 
Public Shared Function Intersect( _
   ByVal rect1 As LeadRect, _
   ByVal rect2 As LeadRect _
) As LeadRect
'Usage
 
Dim rect1 As LeadRect
Dim rect2 As LeadRect
Dim value As LeadRect
 
value = LeadRectHelper.Intersect(rect1, rect2)
public static LeadRect Intersect( 
   LeadRect rect1,
   LeadRect rect2
)
 function Leadtools.LeadRectHelper.Intersect( 
   rect1 ,
   rect2 
)
public:
static LeadRect Intersect( 
   LeadRect rect1,
   LeadRect rect2
) 

Parameters

rect1
A rectangle to intersect.
rect2
A rectangle to intersect

Return Value

A third LeadRect the size of which represents the overlapped area of the two specified rectangles. If there is no intersection, an Empty rectangle is returned.
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

LeadRectHelper Class
LeadRectHelper Members

 

 


Products | Support | Contact Us | Copyright Notices

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