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



a
A rectangle to union.
b
A rectangle to union.
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
)
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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