## PsDocument::OpenPage(float, float) method


创建新页面并将其设为当前页面。

```cpp
void Aspose::Page::EPS::PsDocument::OpenPage(float width, float height)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| width | 单精度浮点数 | 新页面的宽度。 |
| height | 单精度浮点数 | 新页面的高度。 |

## 另见

* Class [PsDocument](../)
* Namespace [Aspose::Page::EPS](../../)
* Library [Aspose.Page for C++](../../../)
## PsDocument::OpenPage(System::String) method


使用文档尺寸创建新页面并将其设为当前页面。

```cpp
void Aspose::Page::EPS::PsDocument::OpenPage(System::String pageName=nullptr)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| pageName | System::String | 新页面的名称。如果为 null，页面的名称将是页面的顺序编号。 |

## 另见

* Class [String](../../../system/string/)
* Class [PsDocument](../)
* Namespace [Aspose::Page::EPS](../../)
* Library [Aspose.Page for C++](../../../)
