Rect.Union Method

Creates a Rect representing a rectangle that is exactly large enough to contain the current Rect rectangle and a specified point or a 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 rectangle represented by the current Rect exactly enough to contain the specified point.
Public method Union(Rect) Expands the rectangle represented by the current Rect exactly enough to contain the specified rectangle.
Top
Show:
© 2015 Microsoft