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



a
A rectangle to intersect.
b
A rectangle to intersect

The Intersect(AnnRectangle,AnnRectangle) Method is available in LEADTOOLS Document and Medical Imaging toolkits.

a
A rectangle to intersect.
b
A rectangle to intersect
Returns an AnnRectangle structure that represents the intersection of two rectangles. If there is no intersection, an empty rectangle is returned.

Syntax

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

Parameters

a
A rectangle to intersect.
b
A rectangle to intersect

Return Value

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features