Aspose::Page::EPS::PsDocument::SetPageSize method
PsDocument::SetPageSize method
设置页面大小。要在同一文档中创建不同大小的页面,请在此方法之后立即使用 SetPageDevice 方法。
void Aspose::Page::EPS::PsDocument::SetPageSize(float width, float height)
| Parameter | Type | 描述 |
|---|---|---|
| width | 单精度浮点数 | 生成的 PostScript 文件中页面的宽度。 |
| height | 单精度浮点数 | 生成的 PostScript 文件中页面的高度。 |
另见
- Class PsDocument
- Namespace Aspose::Page::EPS
- Library Aspose.Page for C++