Aspose::Page::XPS::XpsDocument::CreateImage method
XpsDocument::CreateImage(System::SharedPtr<System::IO::Stream>) method
Δημιουργεί έναν νέο πόρο εικόνας από stream.
System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::SharedPtr<System::IO::Stream> stream)
| Parameter | Type | Περιγραφή |
|---|---|---|
| ροή | System::SharedPtr<System::IO::Stream> | Η ροή που περιέχει την εικόνα για χρήση ως πόρος. |
ReturnValue
Νέος πόρος εικόνας.
Δείτε επίσης
- Typedef SharedPtr
- Class XpsImage
- Class Stream
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
XpsDocument::CreateImage(System::String) method
Δημιουργεί έναν νέο πόρο εικόνας από το αρχείο εικόνας που βρίσκεται στο imagePath.
System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::String imagePath)
| Parameter | Type | Περιγραφή |
|---|---|---|
| imagePath | System::String | Η διαδρομή προς την εικόνα για χρήση ως πόρος. |
ReturnValue
Νέος πόρος εικόνας.
Δείτε επίσης
- Typedef SharedPtr
- Class XpsImage
- Class String
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++