Rect.Union Method

 

Creates a rectangle that is exactly large enough to contain a given rectangle and a specified point or second rectangle.

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

NameDescription
System_CAPS_pubmethodUnion(Point)

Expands the current rectangle exactly enough to contain the specified point.

System_CAPS_pubmethodUnion(Rect)

Expands the current rectangle exactly enough to contain the specified rectangle.

System_CAPS_pubmethodSystem_CAPS_staticUnion(Rect, Point)

Creates a rectangle that is exactly large enough to include the specified rectangle and the specified point.

System_CAPS_pubmethodSystem_CAPS_staticUnion(Rect, Rect)

Creates a rectangle that is exactly large enough to contain the two specified rectangles.

Return to top
Show: