Aspose::Page::EPS::PsDocument::SetPageSize method

PsDocument::SetPageSize method

设置页面大小。要在同一文档中创建不同大小的页面,请在此方法之后立即使用 SetPageDevice 方法。

void Aspose::Page::EPS::PsDocument::SetPageSize(float width, float height)
ParameterType描述
width单精度浮点数生成的 PostScript 文件中页面的宽度。
height单精度浮点数生成的 PostScript 文件中页面的高度。

另见