Utility.PointInRect Method

2D point in rectangle test.
Public Shared Function PointInRect( _ 
ByVal testPoint As Point2D, _ 
ByVal lowerLeft As Point2D, _ 
ByVal upperRight As Point2D
) As Boolean
This language is not supported or no code example is available.
public static bool PointInRect( 
Point2D testPoint
Point2D lowerLeft
Point2D upperRight 
)
This language is not supported or no code example is available.

Parameters

testPoint
Point2D

The test 2D point

lowerLeft
Point2D

Rectangle lower left corner

upperRight
Point2D

Rectangle upper right corner

Return Value

bool

The point status.

.NET Framework

Supported in: 4.8

In this article

Definition