LEADTOOLS Forms (Leadtools.Forms assembly)

Intersect(LogicalRectangle,LogicalRectangle) Method

Show in webframe





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
) 

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

See Also

Reference

LogicalRectangle Structure
LogicalRectangle Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 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