Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 4
System.Windows
Rect Structure
Rect Methods
Union Method
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2010/.NET Framework 4

Other versions are also available for the following:
.NET Framework Class Library
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.

  NameDescription
Public methodUnion(Point)Expands the current rectangle exactly enough to contain the specified point.
Public methodUnion(Rect)Expands the current rectangle exactly enough to contain the specified rectangle.
Public methodStatic memberUnion(Rect, Point)Creates a rectangle that is exactly large enough to include the specified rectangle and the specified point.
Public methodStatic memberUnion(Rect, Rect)Creates a rectangle that is exactly large enough to contain the two specified rectangles.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker