Aspose::Page::EPS::PsDocument::SaveAsImage 方法

PsDocument::SaveAsImage(System::SharedPtr<Device::ImageSaveOptions>) method

将 PS/EPS 文件保存为图像文件。输出目录和文件名将与输入的 PS 文件相同。文件扩展名将对应于 "options" 参数中的图像格式。如果文档是使用非 FileStream 的流初始化的,图像文件将保存在当前文件夹中,使用默认的文件名模板。

void Aspose::Page::EPS::PsDocument::SaveAsImage(System::SharedPtr<Device::ImageSaveOptions> options)

另见

PsDocument::SaveAsImage(System::SharedPtr<Device::ImageSaveOptions>, System::String, System::String) method

将 PS/EPS 文件保存为图像文件到指定目录,并使用指定的文件名。文件扩展名将对应于 "options" 参数中的图像格式。

void Aspose::Page::EPS::PsDocument::SaveAsImage(System::SharedPtr<Device::ImageSaveOptions> options, System::String outDir, System::String fileNameTemplate)

另见