---
title: "PsDocument.OpenPage"
url: "https://reference.aspose.com/page/net/aspose.page.eps/psdocument/openpage/"
product: "Aspose.Page for .NET API Reference"
description: "PsDocument method. Creates new page and make it current one"
---

## OpenPage(float, float) {#openpage}

Creates new page and make it current one.

```csharp
public void OpenPage(float width, float height)
```

| Parameter | Type | Description |
| --- | --- | --- |
| width | Single | The width of new page. |
| height | Single | The height of new page. |

### See Also

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

---

## OpenPage(string) {#openpage_1}

Creates new page with document's size and make it current one.

```csharp
public void OpenPage(string pageName = null)
```

| Parameter | Type | Description |
| --- | --- | --- |
| pageName | String | The name of new page. If it is null the name o the page will be an order number of the page. |

### See Also

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


