Aspose::Page::XPS::XpsDocument::SaveAsPdf method

XpsDocument::SaveAsPdf(System::SharedPtr<System::IO::Stream>, System::SharedPtr<Presentation::Pdf::PdfSaveOptions>) method

Saves the document in PDF format.

void Aspose::Page::XPS::XpsDocument::SaveAsPdf(System::SharedPtr<System::IO::Stream> stream, System::SharedPtr<Presentation::Pdf::PdfSaveOptions> options)
ParameterTypeDescription
streamSystem::SharedPtr<System::IO::Stream>The stream to write the output PDF file to.
optionsSystem::SharedPtr<Presentation::Pdf::PdfSaveOptions>Options for saving the document in PDF format.

See Also

XpsDocument::SaveAsPdf(System::String, System::SharedPtr<Presentation::Pdf::PdfSaveOptions>) method

Saves the document in PDF format.

void Aspose::Page::XPS::XpsDocument::SaveAsPdf(System::String outPdfFilePath, System::SharedPtr<Presentation::Pdf::PdfSaveOptions> options)
ParameterTypeDescription
outPdfFilePathSystem::StringAn output PDF file path.
optionsSystem::SharedPtr<Presentation::Pdf::PdfSaveOptions>Options for saving the document in PDF format.

See Also