## Rectangle.Contains method

Determines if the specified point is contained within this [`Rectangle`](../../rectangle) structure.

```csharp
public bool Contains(int x, int y)
```

| Parameter | Type | Description |
| --- | --- | --- |
| x | Int32 | The x-coordinate of the point to test. |
| y | Int32 | The y-coordinate of the point to test. |

### Return Value

This method returns true if the point defined by *x* and *y* is contained within this [`Rectangle`](../../rectangle) structure; otherwise false.

### See Also

* struct [Rectangle](../../rectangle)
* namespace [Aspose.OCR](../../rectangle)
* assembly [Aspose.OCR](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.OCR.dll -->
