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



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

The Union Method is available in LEADTOOLS Document and Medical Imaging toolkits.

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 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