## PsDocument::SetPageSize method


Sets page size. To create pages with different sizes in one document use [SetPageDevice](../setpagedevice/) method just after this method.

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


| Parameter | Type | Description |
| --- | --- | --- |
| width | float | The width of page in resulting PostScript file. |
| height | float | The height of page in resulting PostScript file. |

## See Also

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