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


Slaat het document op in PDF-formaat.

```cpp
void Aspose::Page::XPS::XpsDocument::SaveAsPdf(System::SharedPtr<System::IO::Stream> stream, System::SharedPtr<Presentation::Pdf::PdfSaveOptions> options)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| stream | System::SharedPtr\<System::IO::Stream\> | De stream om het uitvoer‑PDF‑bestand naar te schrijven. |
| opties | System::SharedPtr\<Presentation::Pdf::PdfSaveOptions\> | Opties voor het opslaan van het document in PDF-formaat. |

## Zie ook

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [PdfSaveOptions](../../../aspose.page.xps.presentation.pdf/pdfsaveoptions/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
## XpsDocument::SaveAsPdf(System::String, System::SharedPtr\<Presentation::Pdf::PdfSaveOptions\>) method


Slaat het document op in PDF-formaat.

```cpp
void Aspose::Page::XPS::XpsDocument::SaveAsPdf(System::String outPdfFilePath, System::SharedPtr<Presentation::Pdf::PdfSaveOptions> options)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| outPdfFilePath | System::String | Een uitvoer-PDF-bestandspad. |
| opties | System::SharedPtr\<Presentation::Pdf::PdfSaveOptions\> | Opties voor het opslaan van het document in PDF-formaat. |

## Zie ook

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [PdfSaveOptions](../../../aspose.page.xps.presentation.pdf/pdfsaveoptions/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
