Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Union Method
See Also 
Leadtools.Annotations Namespace > AnnRectangle Structure : Union Method




a
A rectangle to union.
b
A rectangle to union.
Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.

Syntax

Visual Basic (Declaration) 
Public Shared Function Union( _
   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.Union(a, b)
C# 
public static AnnRectangle Union( 
   AnnRectangle a,
   AnnRectangle b
)
Managed Extensions for C++ 
public: static AnnRectangle Union( 
   AnnRectangle a,
   AnnRectangle b
) 
C++/CLI 
public:
static AnnRectangle Union( 
   AnnRectangle a,
   AnnRectangle b
) 

Parameters

a
A rectangle to union.
b
A rectangle to union.

Return Value

A third AnnRectangle structure that contains both of the two rectangles that form the union.

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