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



rect
The rectangle to test.
rect
The rectangle to test.
Determines if this rectangle intersects with a test rectangle. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Function IntersectsWith( _
   ByVal rect As LeadRect _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As LeadRect
Dim rect As LeadRect
Dim value As Boolean
 
value = instance.IntersectsWith(rect)
C# 
public bool IntersectsWith( 
   LeadRect rect
)
C++/CLI 
public:
bool IntersectsWith( 
   LeadRect rect
) 

Parameters

rect
The rectangle to test.

Return Value

This method returns true if there is any intersection; false otherwise.

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