NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Rectangle.Union

Creates a rectangle that represents the union between a and b.

[Visual Basic]
Public Shared Function Union( _
   ByVal a As Rectangle, _
   ByVal b As Rectangle _
) As Rectangle
[C#]
public static Rectangle Union(
   Rectangle a,
   Rectangle b
);
[C++]
public: static Rectangle Union(
   Rectangle a,
   Rectangle b
);
[JScript]
public static function Union(
   a : Rectangle,
   b : Rectangle
) : Rectangle;

Parameters

a
Rectangle to union
b
Rectangle to union

Return Value

the unioned region.

See Also

Rectangle Structure | Rectangle Members | System.Drawing Namespace