Aspose::Page::XPS::XpsDocument::CreateImage method
XpsDocument::CreateImage(System::SharedPtr<System::IO::Stream>) method
Erstellt eine neue Bildressource aus stream.
System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::SharedPtr<System::IO::Stream> stream)
| Parameter | Typ | Beschreibung |
|---|---|---|
| Stream | System::SharedPtr<System::IO::Stream> | Der Stream, der das Bild enthält, das als Ressource verwendet werden soll. |
ReturnValue
Neue Bildressource.
Siehe auch
- Typedef SharedPtr
- Class XpsImage
- Class Stream
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
XpsDocument::CreateImage(System::String) method
Erstellt eine neue Bildressource aus einer Bilddatei, die unter imagePath liegt.
System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::String imagePath)
| Parameter | Typ | Beschreibung |
|---|---|---|
| imagePath | System::String | Der Pfad zum Bild, das als Ressource verwendet werden soll. |
ReturnValue
Neue Bildressource.
Siehe auch
- Typedef SharedPtr
- Class XpsImage
- Class String
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++