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.Intersect (Rectangle, Rectangle)

Creates a rectangle that represents the intersetion between a and b. If there is no intersection, null is returned.

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

Parameters

a
Rectangle to intersect
b
Rectangle to intersect

Return Value

the insected region

See Also

Rectangle Structure | Rectangle Members | System.Drawing Namespace | Rectangle.Intersect Overload List