RectangleContains Method (Point)

Determines if the specified point is contained within this Rectangle structure.

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.9.0.0 (20.9.0)
Syntax
C#
public bool Contains(
	Point pt
)

Parameters

pt
Type: System.DrawingPoint
The Point to test.

Return Value

Type: Boolean
This method returns true if the point represented by pt is contained within this Rectangle structure; otherwise false.
See Also