Aspose::Page::XPS::XpsDocument::CreateImage method
XpsDocument::CreateImage(System::SharedPtr<System::IO::Stream>) method
Skapar en ny bildresurs från stream.
System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::SharedPtr<System::IO::Stream> stream)
| Parameter | Type | Beskrivning |
|---|---|---|
| ström | System::SharedPtr<System::IO::Stream> | Strömmen som innehåller bilden att använda som resurs. |
ReturnValue
Ny bildresurs.
Se även
- Typedef SharedPtr
- Class XpsImage
- Class Stream
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
XpsDocument::CreateImage(System::String) method
Skapar en ny bildresurs från bildfilen som finns på imagePath.
System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::String imagePath)
| Parameter | Type | Beskrivning |
|---|---|---|
| imagePath | System::String | Sökvägen till bilden att använda som resurs. |
ReturnValue
Ny bildresurs.
Se även
- Typedef SharedPtr
- Class XpsImage
- Class String
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++