The Union Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- rect1
- A rectangle to union.
- rect2
- A rectangle to union.
Visual Basic (Declaration) | |
---|---|
Public Shared Function Union( _ ByVal rect1 As LogicalRectangle, _ ByVal rect2 As LogicalRectangle _ ) As LogicalRectangle |
Visual Basic (Usage) | Copy Code |
---|---|
Dim rect1 As LogicalRectangle Dim rect2 As LogicalRectangle Dim value As LogicalRectangle value = LogicalRectangle.Union(rect1, rect2) |
C# | |
---|---|
public static LogicalRectangle Union( LogicalRectangle rect1, LogicalRectangle rect2 ) |
C++/CLI | |
---|---|
public: static LogicalRectangle Union( LogicalRectangle rect1, LogicalRectangle rect2 ) |
Parameters
- rect1
- A rectangle to union.
- rect2
- A rectangle to union.
The two rectangles should have the same unit of measurement. If the unit is not the same the union process will be done according to the rect1 unit of measurement.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7