Aspose::Page::XPS::XpsDocument::SaveAsPdf method
XpsDocument::SaveAsPdf(System::SharedPtr<System::IO::Stream>, System::SharedPtr<Presentation::Pdf::PdfSaveOptions>) method
以 PDF 格式保存文档。
void Aspose::Page::XPS::XpsDocument::SaveAsPdf(System::SharedPtr<System::IO::Stream> stream, System::SharedPtr<Presentation::Pdf::PdfSaveOptions> options)
| Parameter | Type | 描述 |
|---|---|---|
| 流 | System::SharedPtr<System::IO::Stream> | 用于写入输出 PDF 文件的流。 |
| 选项 | System::SharedPtr<Presentation::Pdf::PdfSaveOptions> | 以 PDF 格式保存文档的选项。 |
另见
- Typedef SharedPtr
- Class Stream
- Class PdfSaveOptions
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
XpsDocument::SaveAsPdf(System::String, System::SharedPtr<Presentation::Pdf::PdfSaveOptions>) method
以 PDF 格式保存文档。
void Aspose::Page::XPS::XpsDocument::SaveAsPdf(System::String outPdfFilePath, System::SharedPtr<Presentation::Pdf::PdfSaveOptions> options)
| Parameter | Type | 描述 |
|---|---|---|
| outPdfFilePath | System::String | 输出 PDF 文件的路径。 |
| 选项 | System::SharedPtr<Presentation::Pdf::PdfSaveOptions> | 以 PDF 格式保存文档的选项。 |
另见
- Class String
- Typedef SharedPtr
- Class PdfSaveOptions
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++