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


문서를 PDF 형식으로 저장합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 스트림 | System::SharedPtr\<System::IO::Stream\> | 출력 PDF 파일을 기록할 스트림입니다. |
| 옵션 | System::SharedPtr\<Presentation::Pdf::PdfSaveOptions\> | PDF 형식으로 문서를 저장하기 위한 옵션입니다. |

## 또 보기

* 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


문서를 PDF 형식으로 저장합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| outPdfFilePath | System::String | 출력 PDF 파일 경로입니다. |
| 옵션 | System::SharedPtr\<Presentation::Pdf::PdfSaveOptions\> | PDF 형식으로 문서를 저장하기 위한 옵션입니다. |

## 또 보기

* 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++](../../../)
