Aspose::Page::XPS::XpsDocument::CreateImage methode
XpsDocument::CreateImage(System::SharedPtr<System::IO::Stream>) method
Maakt een nieuw afbeeldingsresource aan vanuit stream.
System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::SharedPtr<System::IO::Stream> stream)
| Parameter | Type | Beschrijving |
|---|---|---|
| stream | System::SharedPtr<System::IO::Stream> | De stream die de afbeelding bevat die als resource moet worden genomen. |
ReturnValue
Nieuwe afbeeldingsresource.
Zie ook
- Typedef SharedPtr
- Class XpsImage
- Class Stream
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
XpsDocument::CreateImage(System::String) method
Maakt een nieuw afbeeldingsresource aan vanuit een afbeeldingsbestand op imagePath.
System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::String imagePath)
| Parameter | Type | Beschrijving |
|---|---|---|
| imagePath | System::String | Het pad naar de afbeelding die als resource moet worden genomen. |
ReturnValue
Nieuwe afbeeldingsresource.
Zie ook
- Typedef SharedPtr
- Class XpsImage
- Class String
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++