---
title: "PsDocument.FillRect"
url: "https://reference.aspose.com/page/net/aspose.page.eps/psdocument/fillrect/"
product: "Aspose.Page for .NET API Reference"
description: "PsDocument method. Fills a rectangle"
---

## PsDocument.FillRect method

Fills a rectangle.

```csharp
public void FillRect(double x, double y, double width, double height)
```

| Parameter | Type | Description |
| --- | --- | --- |
| x | Double | X coordinate of upper left corner of the rectangle. |
| y | Double | Y coordinate of upper left corner of the rectangle. |
| width | Double | A width of the rectangle. |
| height | Double | A height of the rectangle. |

### See Also

* class [PsDocument](../)
* namespace [Aspose.Page.EPS](../../psdocument/)
* assembly [Aspose.Page](../../../)


