Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / Utility Class / PointInRectangle Method
The test 2D point
Rectangle lower left corner
Rectangle upper right corner

In This Topic
    PointInRectangle Method
    In This Topic
    Tests if a 2D point is inside to a 2D rectangle.
    Syntax
    'Declaration
     
    Public Shared Function PointInRectangle( _
       ByVal testPoint As Point2D, _
       ByVal lowerLeft As Point2D, _
       ByVal upperRight As Point2D _
    ) As pointStatusType
    public static pointStatusType PointInRectangle( 
       Point2D testPoint,
       Point2D lowerLeft,
       Point2D upperRight
    )

    Parameters

    testPoint
    The test 2D point
    lowerLeft
    Rectangle lower left corner
    upperRight
    Rectangle upper right corner

    Return Value

    The point status.
    See Also