Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Rect.Union Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Union(Point) Expands the current rectangle exactly enough to contain the specified point.
Public method Union(Rect) Expands the current rectangle exactly enough to contain the specified rectangle.
Public method Static member Union(Rect, Point) Creates a rectangle that is exactly large enough to include the specified rectangle and the specified point.
Public method Static member Union(Rect, Rect) Creates a rectangle that is exactly large enough to contain the two specified rectangles.
Top
Show:
© 2015 Microsoft