Intersects Method
Verifies if the given rectangle intersects this rectangle.
Syntax
'Declaration Public Function Intersects( _ ByVal displayRect As DisplayRectangle _ ) As Boolean
'Usage Dim instance As DisplayRectangle Dim displayRect As DisplayRectangle Dim value As Boolean value = instance.Intersects(displayRect)
public bool Intersects( DisplayRectangle displayRect )
Parameters
- displayRect
- The rectangle to intersect.
Return Value
True if the rectangles intersect, false otherwise.
Requirements
Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025
See Also