Aspose::Page::EPS::PsDocument::PsDocument 构造函数

PsDocument::PsDocument() constructor

初始化空的 PsDocument。此构造函数仅用于与 PostScript 文件无关的附加操作,例如转换字体。

Aspose::Page::EPS::PsDocument::PsDocument()

另见

PsDocument::PsDocument(System::SharedPtr<System::IO::Stream>) constructor

使用 PS/EPS 文件流初始化 PsDocument

Aspose::Page::EPS::PsDocument::PsDocument(System::SharedPtr<System::IO::Stream> inPsStream)
ParameterType描述
inPsStreamSystem::SharedPtr<System::IO::Stream>PS/EPS 文件的输入流。

另见

PsDocument::PsDocument(System::SharedPtr<System::IO::Stream>, System::SharedPtr<Device::PsSaveOptions>) constructor

使用已初始化的页面初始化空的 PsDocument

Aspose::Page::EPS::PsDocument::PsDocument(System::SharedPtr<System::IO::Stream> outPsStream, System::SharedPtr<Device::PsSaveOptions> options)
ParameterType描述
outPsStreamSystem::SharedPtr<System::IO::Stream>用于保存 PS/EPS 文件的流。
选项System::SharedPtr<Device::PsSaveOptions>控制 PostScript 文件保存的参数集合。

另见

PsDocument::PsDocument(System::SharedPtr<System::IO::Stream>, System::SharedPtr<Device::PsSaveOptions>, bool) constructor

初始化空的 PsDocument

Aspose::Page::EPS::PsDocument::PsDocument(System::SharedPtr<System::IO::Stream> outPsStream, System::SharedPtr<Device::PsSaveOptions> options, bool multipaged)
ParameterType描述
outPsStreamSystem::SharedPtr<System::IO::Stream>用于保存 PS/EPS 文件的流。
选项System::SharedPtr<Device::PsSaveOptions>控制 PostScript 文件保存的参数集合。
多页bool如果为 false,则页面不会被初始化。在这种情况下,应通过显式的 "openPage(width, height)" 调用来进行页面初始化。

另见

PsDocument::PsDocument(System::SharedPtr<System::IO::Stream>, System::SharedPtr<Device::PsSaveOptions>, int32_t) constructor

在预先知道 Postscript 文档页数时,初始化空的 PsDocument

Aspose::Page::EPS::PsDocument::PsDocument(System::SharedPtr<System::IO::Stream> outPsStream, System::SharedPtr<Device::PsSaveOptions> options, int32_t numberOfPages)
ParameterType描述
outPsStreamSystem::SharedPtr<System::IO::Stream>用于保存 PS/EPS 文件的流。
选项System::SharedPtr<Device::PsSaveOptions>控制 PostScript 文件保存的参数集合。
numberOfPagesint32_tPostScript 文档中的页数。

另见

PsDocument::PsDocument(System::String, System::SharedPtr<Device::PsSaveOptions>) constructor

使用已初始化的页面初始化空的 PsDocument

Aspose::Page::EPS::PsDocument::PsDocument(System::String outPsFilePath, System::SharedPtr<Device::PsSaveOptions> options)
ParameterType描述
outPsFilePathSystem::String输出 PS/EPS 文件路径。
选项System::SharedPtr<Device::PsSaveOptions>控制 PostScript 文件保存的参数集合。

另见

PsDocument::PsDocument(System::String, System::SharedPtr<Device::PsSaveOptions>, bool) constructor

初始化空的 PsDocument

Aspose::Page::EPS::PsDocument::PsDocument(System::String outPsFilePath, System::SharedPtr<Device::PsSaveOptions> options, bool multipaged)
ParameterType描述
outPsFilePathSystem::String输出 PS/EPS 文件路径。
选项System::SharedPtr<Device::PsSaveOptions>控制 PostScript 文件保存的参数集合。
多页bool如果为 false,则页面不会被初始化。在这种情况下,应通过显式的 "openPage(width, height)" 调用来进行页面初始化。

另见

PsDocument::PsDocument(System::String, System::SharedPtr<Device::PsSaveOptions>, int32_t) constructor

在预先知道 Postscript 文档页数时,初始化空的 PsDocument

Aspose::Page::EPS::PsDocument::PsDocument(System::String outPsFilePath, System::SharedPtr<Device::PsSaveOptions> options, int32_t numberOfPages)
ParameterType描述
outPsFilePathSystem::String输出 PS/EPS 文件路径。
选项System::SharedPtr<Device::PsSaveOptions>控制 PostScript 文件保存的参数集合。
numberOfPagesint32_tPostScript 文档中的页数。

另见

PsDocument::PsDocument(System::String) constructor

使用输入的 PS/EPS 文件初始化 PsDocument

Aspose::Page::EPS::PsDocument::PsDocument(System::String psFilePath)
ParameterType描述
psFilePathSystem::StringPS/EPS 文件路径。

另见