Utility.PointInRectangle Method

Tests if a 2D point is inside to a 2D rectangle.
Public Shared Function PointInRectangle( _ 
ByVal testPoint As Point2D, _ 
ByVal lowerLeft As Point2D, _ 
ByVal upperRight As Point2D
) As pointStatusType
This language is not supported or no code example is available.
public static pointStatusType PointInRectangle( 
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

pointStatusType

The point status.

.NET Framework

Supported in: 4.8

In this article

Definition