LEADTOOLS Forms (Leadtools.Forms assembly)

Show in webframe

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
) 

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

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