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.IntersectsWith

Determines if this rectangle intersets with rect.

[Visual Basic]
Public Function IntersectsWith( _
   ByVal rect As Rectangle _
) As Boolean
[C#]
public bool IntersectsWith(
   Rectangle rect
);
[C++]
public: bool IntersectsWith(
   Rectangle rect
);
[JScript]
public function IntersectsWith(
   rect : Rectangle
) : Boolean;

Parameters

rect
Rectangle to test

Return Value

true if there is any intersection

See Also

Rectangle Structure | Rectangle Members | System.Drawing Namespace