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



a
A rectangle to intersect.
b
A rectangle to intersect
a
A rectangle to intersect.
b
A rectangle to intersect
Returns an LeadRect structure that represents the intersection of two rectangles. If there is no intersection, an empty rectangle is returned. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Overloads Public Shared Function Intersect( _
   ByVal a As LeadRect, _
   ByVal b As LeadRect _
) As LeadRect
Visual Basic (Usage)Copy Code
Dim a As LeadRect
Dim b As LeadRect
Dim value As LeadRect
 
value = LeadRect.Intersect(a, b)
C# 
public static LeadRect Intersect( 
   LeadRect a,
   LeadRect b
)
C++/CLI 
public:
static LeadRect Intersect( 
   LeadRect a,
   LeadRect b
) 

Parameters

a
A rectangle to intersect.
b
A rectangle to intersect

Return Value

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

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also