- rect1
- A rectangle to intersect.
- rect2
- A rectangle to intersect
| Visual Basic (Declaration) | |
|---|---|
Overloads Public Shared Function Intersect( _ ByVal rect1 As LogicalRectangle, _ ByVal rect2 As LogicalRectangle _ ) As LogicalRectangle | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public static LogicalRectangle Intersect( LogicalRectangle rect1, LogicalRectangle rect2 ) | |
| C++/CLI | |
|---|---|
public: static LogicalRectangle Intersect( LogicalRectangle rect1, LogicalRectangle rect2 ) | |
Parameters
- rect1
- A rectangle to intersect.
- rect2
- A rectangle to intersect
Return Value
A third LogicalRectangle structure the size of which represents the overlapped area of the two specified rectangles.Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family
Copy Code