## XpsDocument::SaveAsPs(System::SharedPtr\<System::IO::Stream\>, System::SharedPtr\<EPS::Device::PsSaveOptions\>) method


Speichert das Dokument im PS-Format.

```cpp
void Aspose::Page::XPS::XpsDocument::SaveAsPs(System::SharedPtr<System::IO::Stream> stream, System::SharedPtr<EPS::Device::PsSaveOptions> options)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Stream | System::SharedPtr\<System::IO::Stream\> | Der Stream, in den die Ausgabedatei im PS-Format geschrieben wird. |
| Optionen | System::SharedPtr\<EPS::Device::PsSaveOptions\> | Optionen zum Speichern des Dokuments im PS-Format. |

## Siehe auch

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [PsSaveOptions](../../../aspose.page.eps.device/pssaveoptions/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
## XpsDocument::SaveAsPs(System::String, System::SharedPtr\<EPS::Device::PsSaveOptions\>) method


Speichert das Dokument im PS-Format.

```cpp
void Aspose::Page::XPS::XpsDocument::SaveAsPs(System::String outPsFilePath, System::SharedPtr<EPS::Device::PsSaveOptions> options)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| outPsFilePath | System::String | Ein Pfad für die Ausgabedatei im PS-Format. |
| Optionen | System::SharedPtr\<EPS::Device::PsSaveOptions\> | Optionen zum Speichern des Dokuments im PS-Format. |

## Siehe auch

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [PsSaveOptions](../../../aspose.page.eps.device/pssaveoptions/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
