Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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
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
)
Managed Extensions for 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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